From 67d8a3bee44c48ebe15bf5aeb072bf4cb4950228 Mon Sep 17 00:00:00 2001 From: WilliamMTK Date: Fri, 4 Jul 2025 15:11:15 -0400 Subject: 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 --- .github/workflows/cmake.yml | 77 +++++++++++---------------------------------- 1 file changed, 18 insertions(+), 59 deletions(-) (limited to '.github/workflows/cmake.yml') 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: -- cgit v1.3