From 02b9470da52fa06ff58c269d31924c70cafdde68 Mon Sep 17 00:00:00 2001 From: Stephan Hageboeck Date: Thu, 17 Dec 2020 14:09:16 +0100 Subject: [PATCH] [CI] Add GPU build to CI configuration. - Unify debug builds for epoch1 and 2 into a single job. - Add extra job to run epoch2 CUDA on self-hosted GPU runner. --- .github/workflows/c-cpp.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d3373d8ee6..20fac2a59b 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -18,17 +18,14 @@ jobs: run: make - name: make check run: make check - epoch1_eemumu_debug: + debug_builds: runs-on: ubuntu-latest - defaults: - run: - working-directory: epoch1/cuda/ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum steps: - uses: actions/checkout@v2 - - name: make - run: make debug - - name: make check - run: make check + - name: make epoch1 + run: make -C epoch1/cuda/ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum debug + - name: make epoch2 + run: make -C epoch2/cuda/ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum debug epoch2_eemumu: runs-on: ubuntu-latest defaults: @@ -40,14 +37,14 @@ jobs: run: make - name: make check run: make check - epoch2_eemumu_debug: - runs-on: ubuntu-latest + epoch2_eemumu_GPU: + runs-on: self-hosted defaults: run: working-directory: epoch2/cuda/ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum steps: - uses: actions/checkout@v2 - name: make - run: make debug + run: make - name: make check run: make check