summaryrefslogtreecommitdiff
path: root/.github/workflows/cmake.yml
diff options
context:
space:
mode:
authorWilliamMTK <[email protected]>2025-07-04 15:11:15 -0400
committerGitHub <[email protected]>2025-07-04 19:11:15 +0000
commit67d8a3bee44c48ebe15bf5aeb072bf4cb4950228 (patch)
tree3af39d22d0e2938e5e93ffd1ab9e996773d25dd1 /.github/workflows/cmake.yml
parent22159f160cc9b775dcb9b95e80f71e6b5a925650 (diff)
Update ci (#119)
* update_ci: use test matrix * update_ci: add updated test script and better name * update_ci: use minimal image for accelsim test as well * update_ci: use github image for sst run * update_ci: revert main yaml
Diffstat (limited to '.github/workflows/cmake.yml')
-rw-r--r--.github/workflows/cmake.yml77
1 files changed, 18 insertions, 59 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index c37bd41..c61f5b3 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -15,68 +15,27 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
- build-TITANV:
+ build:
+ strategy:
+ matrix:
+ app:
+ - rodinia_2.0-ft
+ config:
+ - TITANV
+ - TITANV-LOCALXBAR
+ - QV100
+ - RTX2060
+ - RTX3070
+ image_tags:
+ - ubuntu-24.04-cuda-12.8-minimal
+ - ubuntu-22.04-cuda-11.7.1-minimal
runs-on: ubuntu-latest
+ name: Build ${{ matrix.app }} on ${{ matrix.image_tags }} with ${{ matrix.config }}
container:
- image: ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8
+ image: ghcr.io/accel-sim/accel-sim-framework:${{ matrix.image_tags }}
env:
- CONFIG: TITANV
-
- # Steps represent a sequence of tasks that will be executed as part of the job
- steps:
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- - uses: actions/checkout@v4
- - name: Run Simulation
- run: /bin/bash $GITHUB_WORKSPACE/short-tests-cmake.sh
-
- build-TITANV-LOCALXBAR:
- runs-on: ubuntu-latest
- container:
- image: ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8
- env:
- CONFIG: TITANV-LOCALXBAR
-
- # Steps represent a sequence of tasks that will be executed as part of the job
- steps:
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- - uses: actions/checkout@v4
- - name: Run Simulation
- run: /bin/bash $GITHUB_WORKSPACE/short-tests-cmake.sh
-
- build-QV100:
- runs-on: ubuntu-latest
- container:
- image: ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8
- env:
- CONFIG: QV100
-
- # Steps represent a sequence of tasks that will be executed as part of the job
- steps:
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- - uses: actions/checkout@v4
- - name: Run Simulation
- run: /bin/bash $GITHUB_WORKSPACE/short-tests-cmake.sh
-
- build-2060:
- runs-on: ubuntu-latest
- container:
- image: ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8
- env:
- CONFIG: RTX2060
-
- # Steps represent a sequence of tasks that will be executed as part of the job
- steps:
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- - uses: actions/checkout@v4
- - name: Run Simulation
- run: /bin/bash $GITHUB_WORKSPACE/short-tests-cmake.sh
-
- build-3070:
- runs-on: ubuntu-latest
- container:
- image: ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8
- env:
- CONFIG: RTX3070
+ CONFIG: ${{ matrix.config }}
+ APP: ${{ matrix.app }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps: