Skip to content

Commit d9222f9

Browse files
committed
Restore CI also including CPU steps
1 parent adf3828 commit d9222f9

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

.github/workflows/c-cpp.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,44 +18,44 @@ jobs:
1818
- uses: actions/checkout@v2
1919
- name: make debug
2020
run: make -C ${{ matrix.folder }} debug
21-
# CPU:
22-
# runs-on: ubuntu-latest
23-
# strategy:
24-
# matrix:
25-
# folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
26-
# precision: [ d , f , m ]
27-
# backend: [ cppnone, cppauto ]
28-
# fail-fast: false
29-
# steps:
30-
# - uses: actions/checkout@v2
31-
# - name: github PR info
32-
# run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
33-
# - name: make info
34-
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
35-
# - name: make
36-
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
37-
# - name: make test
38-
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
39-
# CPU_MAC:
40-
# runs-on: macos-latest
41-
# env:
42-
# FC: gfortran-14 # see #971
43-
# strategy:
44-
# matrix:
45-
# folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum, epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
46-
# precision: [ d , f , m ]
47-
# backend: [ cppnone, cppsse4 ]
48-
# fail-fast: false
49-
# steps:
50-
# - uses: actions/checkout@v2
51-
# - name: github PR info
52-
# run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
53-
# - name: make info
54-
# run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
55-
# - name: make
56-
# run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
57-
# - name: make test
58-
# run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
21+
CPU:
22+
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
26+
precision: [ d , f , m ]
27+
backend: [ cppnone, cppauto ]
28+
fail-fast: false
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: github PR info
32+
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
33+
- name: make info
34+
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
35+
- name: make
36+
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
37+
- name: make test
38+
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
39+
CPU_MAC:
40+
runs-on: macos-latest
41+
env:
42+
FC: gfortran-14 # see #971
43+
strategy:
44+
matrix:
45+
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum, epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
46+
precision: [ d , f , m ]
47+
backend: [ cppnone, cppsse4 ]
48+
fail-fast: false
49+
steps:
50+
- uses: actions/checkout@v2
51+
- name: github PR info
52+
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
53+
- name: make info
54+
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
55+
- name: make
56+
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
57+
- name: make test
58+
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
5959
GPU:
6060
runs-on: madgraph5-h100
6161
container: registry.cern.ch/ngt/lxplus-like:9

0 commit comments

Comments
 (0)