Skip to content

Commit

Permalink
avoid running tests on cluster to speed up actions checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rengolin committed Feb 10, 2025
1 parent 26d4a22 commit a4a40f8
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 36 deletions.
54 changes: 30 additions & 24 deletions .github/workflows/tpp-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Emerald Rapids Base
run: |-
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/github/benchmark.sh -b -p"
${{ env.SRUN }} --partition=emr --time=0:30:00 --constraint=\"notrb\" -- $CMD
run: "echo Hi"
# run: |-
# CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
# ${{ github.workspace }}/scripts/github/benchmark.sh -b -p"
# ${{ env.SRUN }} --partition=emr --time=0:30:00 --constraint=\"notrb\" -- $CMD

TPP-MLIR-EMR-OMP:
runs-on: pcl-tiergarten
Expand All @@ -56,10 +57,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Emerald Rapids OpenMP
run: |-
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/github/benchmark.sh -o"
${{ env.SRUN }} --partition=emr --time=0:30:00 --constraint=\"notrb\" -- $CMD
run: "echo Hi"
# run: |-
# CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
# ${{ github.workspace }}/scripts/github/benchmark.sh -o"
# ${{ env.SRUN }} --partition=emr --time=0:30:00 --constraint=\"notrb\" -- $CMD

TPP-MLIR-ZEN-BASE:
runs-on: pcl-tiergarten
Expand All @@ -70,10 +72,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Zen5 Base
run: |-
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/github/benchmark.sh -b -p"
${{ env.SRUN }} --partition=zen5 --time=0:30:00 -- $CMD
run: "echo Hi"
# run: |-
# CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
# ${{ github.workspace }}/scripts/github/benchmark.sh -b -p"
# ${{ env.SRUN }} --partition=zen5 --time=0:30:00 -- $CMD

TPP-MLIR-ZEN-OMP:
runs-on: pcl-tiergarten
Expand All @@ -84,10 +87,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Zen5 OpenMP
run: |-
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/github/benchmark.sh -o"
${{ env.SRUN }} --partition=zen5 --time=0:30:00 -- $CMD
run: "echo Hi"
# run: |-
# CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
# ${{ github.workspace }}/scripts/github/benchmark.sh -o"
# ${{ env.SRUN }} --partition=zen5 --time=0:30:00 -- $CMD

TPP-MLIR-CLX-BASE:
runs-on: pcl-tiergarten
Expand All @@ -98,10 +102,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: CLX Base
run: |-
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/github/benchmark.sh -b -p"
${{ env.SRUN }} --partition=clxap --time=0:30:00 -- $CMD
run: "echo Hi"
# run: |-
# CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
# ${{ github.workspace }}/scripts/github/benchmark.sh -b -p"
# ${{ env.SRUN }} --partition=clxap --time=0:30:00 -- $CMD

TPP-MLIR-CLX-OMP:
runs-on: pcl-tiergarten
Expand All @@ -112,8 +117,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: CLX OpenMP
run: |-
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/github/benchmark.sh -o"
${{ env.SRUN }} --partition=clxap --time=0:30:00 -- $CMD
run: "echo Hi"
# run: |-
# CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
# ${{ github.workspace }}/scripts/github/benchmark.sh -o"
# ${{ env.SRUN }} --partition=clxap --time=0:30:00 -- $CMD

28 changes: 16 additions & 12 deletions .github/workflows/tpp-mlir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,40 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: GCC Release
run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
'KIND=Release COMPILER=gcc CHECK=1 ONEDNN=1 \
${{ github.workspace }}/scripts/github/build_tpp.sh'"
run: "echo Hi"
# run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
# 'KIND=Release COMPILER=gcc CHECK=1 ONEDNN=1 \
# ${{ github.workspace }}/scripts/github/build_tpp.sh'"

TPP-MLIR-gcc-deb:
runs-on: pcl-tiergarten
needs: Check_LLVM
steps:
- uses: actions/checkout@v4
- name: GCC Debug
run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
'KIND=Debug COMPILER=gcc CHECK=1 ONEDNN=1 \
${{ github.workspace }}/scripts/github/build_tpp.sh'"
run: "echo Hi"
# run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
# 'KIND=Debug COMPILER=gcc CHECK=1 ONEDNN=1 \
# ${{ github.workspace }}/scripts/github/build_tpp.sh'"

TPP-MLIR-clang-rel:
runs-on: pcl-tiergarten
needs: Check_LLVM
steps:
- uses: actions/checkout@v4
- name: Clang Release
run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
'KIND=Release COMPILER=clang LINKER=lld CHECK=1 ONEDNN=1 \
${{ github.workspace }}/scripts/github/build_tpp.sh'"
run: "echo Hi"
# run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
# 'KIND=Release COMPILER=clang LINKER=lld CHECK=1 ONEDNN=1 \
# ${{ github.workspace }}/scripts/github/build_tpp.sh'"

TPP-MLIR-clang-deb:
runs-on: pcl-tiergarten
needs: Check_LLVM
steps:
- uses: actions/checkout@v4
- name: Clang Debug Sanitizers
run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
'KIND=Debug COMPILER=clang LINKER=lld SANITIZERS=1 CHECK=1 ONEDNN=1 \
${{ github.workspace }}/scripts/github/build_tpp.sh'"
run: "echo Hi"
# run: "${{ env.SRUN }} --partition=emr --time=0:30:00 -- \
# 'KIND=Debug COMPILER=clang LINKER=lld SANITIZERS=1 CHECK=1 ONEDNN=1 \
# ${{ github.workspace }}/scripts/github/build_tpp.sh'"

0 comments on commit a4a40f8

Please sign in to comment.