Skip to content

Commit

Permalink
CI test HipFFT, update nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Sep 22, 2024
1 parent 45c089e commit 1cb4d7d
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/check-unit-tests-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ concurrency:
cancel-in-progress: true

jobs:
cancel-nightly:
runs-on: ubuntu-latest
steps:
- name: Cancel Nightly Tests
uses: styfle/[email protected]
with:
workflow_id: nightly-tests.yml
all_but_latest: true

unit-tests-llvm-16-debug:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand All @@ -23,6 +33,7 @@ jobs:
run: ./scripts/unit_tests.sh debug llvm-16
shell: bash
unit-tests-llvm-16-release:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand All @@ -34,6 +45,7 @@ jobs:
run: ./scripts/unit_tests.sh release llvm-16
shell: bash
unit-tests-llvm-17-debug:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand All @@ -45,6 +57,7 @@ jobs:
run: ./scripts/unit_tests.sh debug llvm-17
shell: bash
unit-tests-llvm-17-release:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand All @@ -56,6 +69,7 @@ jobs:
run: ./scripts/unit_tests.sh release llvm-17
shell: bash
unit-tests-llvm-18-debug:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand All @@ -67,6 +81,7 @@ jobs:
run: ./scripts/unit_tests.sh debug llvm-18
shell: bash
unit-tests-llvm-18-release:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand All @@ -78,6 +93,7 @@ jobs:
run: ./scripts/unit_tests.sh release llvm-18
shell: bash
unit-tests-llvm-19-debug:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand All @@ -89,6 +105,7 @@ jobs:
run: ./scripts/unit_tests.sh debug llvm-19
shell: bash
unit-tests-llvm-19-release:
needs: cancel-nightly
runs-on: X64
steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/compile-and-cache-main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
name: Compile and Cache Main

on:
push:
branches:
- main
workflow_dispatch:

jobs:
cancel-nightly:
runs-on: ubuntu-latest
steps:
- name: Cancel Nightly Tests
uses: styfle/[email protected]
with:
workflow_id: nightly-tests.yml
all_but_latest: true

build:
needs: cancel-nightly
runs-on: [self-hosted, X64]
steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Nightly Tests
name: Nightly Tests Intel GPUs

on:
schedule:
- cron: '*/5 * * * *' # Run every 5 minutes
- cron: '* * * * *'
workflow_dispatch: # Allows manual triggering

concurrency:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ on:
branches: [ main ]

jobs:
cancel-nightly:
runs-on: ubuntu-latest
steps:
- name: Cancel Nightly Tests
uses: styfle/[email protected]
with:
workflow_id: nightly-tests.yml
all_but_latest: true

docker:
needs: cancel-nightly
runs-on: [self-hosted, Linux, X64]
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion scripts/unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ else
if [ "$host" = "salami" ]; then
CHIP_OPTIONS="-DCHIP_MALI_GPU_WORKAROUNDS=ON -DCHIP_SKIP_TESTS_WITH_DOUBLES=ON"
else
CHIP_OPTIONS="-DCHIP_BUILD_HIPBLAS=ON"
CHIP_OPTIONS="-DCHIP_BUILD_HIPBLAS=ON -DCHIP_BUILD_HIPFFT=ON"
fi
# Build the project
echo "Building project..."
Expand Down

0 comments on commit 1cb4d7d

Please sign in to comment.