Merge pull request #766 from roiser/update-subrepo #1449
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
debug_builds: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
folder: [ epochX/cudacpp/ee_mumu.sa/SubProcesses/P1_Sigma_sm_epem_mupmum , epoch1/cuda/ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum , epoch2/cuda/ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make epoch1 | |
run: make -C ${{ matrix.folder }} debug | |
CPU: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
folder: [ epochX/cudacpp/ee_mumu.sa/SubProcesses/P1_Sigma_sm_epem_mupmum , epochX/cudacpp/gg_ttgg.sa/SubProcesses/P1_Sigma_sm_gg_ttxgg ] | |
precision: [ d , f , m ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make info | |
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} info | |
- name: make | |
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} | |
- name: make check | |
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} check | |
CPU_MAC: | |
runs-on: macos-latest | |
env: | |
FC: gfortran-11 | |
strategy: | |
matrix: | |
folder: [ epochX/cudacpp/ee_mumu.sa/SubProcesses/P1_Sigma_sm_epem_mupmum, epochX/cudacpp/gg_ttgg.sa/SubProcesses/P1_Sigma_sm_gg_ttxgg ] | |
precision: [ d , f , m ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make info | |
run: make AVX=none OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} info | |
- name: make | |
run: make AVX=none OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} | |
- name: make check | |
run: make AVX=none OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} check | |
GPU: | |
runs-on: self-hosted | |
env: | |
CUDA_HOME: /usr/local/cuda/ | |
FC: gfortran | |
REQUIRE_CUDA: 1 | |
strategy: | |
matrix: | |
folder: [ epochX/cudacpp/ee_mumu.sa/SubProcesses/P1_Sigma_sm_epem_mupmum , epochX/cudacpp/gg_ttgg.sa/SubProcesses/P1_Sigma_sm_gg_ttxgg ] | |
precision: [ d , f , m ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: path | |
run: echo "PATH=$PATH" | |
- name: make info | |
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} info | |
- name: make | |
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} | |
- name: make check | |
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} check |