summaryrefslogtreecommitdiff
path: root/.github/workflows/cmake.yml
diff options
context:
space:
mode:
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: