Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Sep 9, 2024
1 parent 5ec3612 commit 0941eed
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 129 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/check-unit-tests-arm.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Workflow syntax:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Unit Tests ARM GPUs
# # Workflow syntax:
# # https://help.github.com/en/articles/workflow-syntax-for-github-actions
# name: Unit Tests ARM GPUs

on:
pull_request:
paths-ignore: "docs/**"
# on:
# pull_request:
# paths-ignore: "docs/**"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
# concurrency:
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
# cancel-in-progress: true

jobs:
unit-tests-llvm-18-release-salami:
runs-on: ARM64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh release llvm-18
shell: bash
# jobs:
# unit-tests-llvm-18-release-salami:
# runs-on: ARM64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh release llvm-18
# shell: bash
196 changes: 98 additions & 98 deletions .github/workflows/check-unit-tests-intel.yml
Original file line number Diff line number Diff line change
@@ -1,101 +1,101 @@
# Workflow syntax:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Unit Tests Intel GPUs
# # Workflow syntax:
# # https://help.github.com/en/articles/workflow-syntax-for-github-actions
# name: Unit Tests Intel GPUs

on:
pull_request:
paths-ignore: "docs/**"
# on:
# pull_request:
# paths-ignore: "docs/**"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
# concurrency:
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
# cancel-in-progress: true

jobs:
unit-tests-llvm-16-debug:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh debug llvm-16
shell: bash
unit-tests-llvm-16-release:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh release llvm-16
shell: bash
unit-tests-llvm-17-debug:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh debug llvm-17
shell: bash
unit-tests-llvm-17-release:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh release llvm-17
shell: bash
unit-tests-llvm-18-debug:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh debug llvm-18
shell: bash
unit-tests-llvm-18-release:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh release llvm-18
shell: bash
unit-tests-llvm-19-debug:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh debug llvm-19
shell: bash
unit-tests-llvm-19-release:
runs-on: X64
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh release llvm-19
shell: bash
# jobs:
# unit-tests-llvm-16-debug:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh debug llvm-16
# shell: bash
# unit-tests-llvm-16-release:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh release llvm-16
# shell: bash
# unit-tests-llvm-17-debug:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh debug llvm-17
# shell: bash
# unit-tests-llvm-17-release:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh release llvm-17
# shell: bash
# unit-tests-llvm-18-debug:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh debug llvm-18
# shell: bash
# unit-tests-llvm-18-release:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh release llvm-18
# shell: bash
# unit-tests-llvm-19-debug:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh debug llvm-19
# shell: bash
# unit-tests-llvm-19-release:
# runs-on: X64
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0
# submodules: 'recursive'
# - name: Run unit test checking script
# run: ./scripts/unit_tests.sh release llvm-19
# shell: bash
21 changes: 11 additions & 10 deletions .github/workflows/check-unit-tests-riscv.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Workflow syntax:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Unit Tests ARM GPUs
name: Unit Tests RISC-V GPUs

on:
pull_request:
Expand All @@ -11,14 +11,15 @@ concurrency:
cancel-in-progress: true

jobs:
unit-tests-llvm-18-release-salami:
runs-on: RISCV64
unit-tests-llvm-18-release-macaroni:
runs-on: X64 # TODO: Add RISCV64 once runner is supported
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: 'recursive'
- name: Run unit test checking script
run: ./scripts/unit_tests.sh release llvm-18
- name: Run unit tests on RISC-V machine
run: |
ssh macaroni << EOF
cd ~/chipStar
git fetch origin
git checkout ${{ github.event.pull_request.head.sha }}
./scripts/unit_tests.sh release llvm-18
EOF
shell: bash

0 comments on commit 0941eed

Please sign in to comment.