-
Notifications
You must be signed in to change notification settings - Fork 9
37 lines (34 loc) · 1.11 KB
/
warnings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Warnings
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
warnings-gcc:
name: Ensure no warnings from gcc
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set system to non-interactive mode
run: export DEBIAN_FRONTEND=noninteractive
- name: install dependencies
run: |
sudo apt-get update -y -qq
sudo apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages -qq build-essential
- name: build and run tests
run: |
mkdir -p bin
cd bin
cmake -DCMAKE_BUILD_TYPE=Debug \
-DSINGULARITY_STRICT_WARNINGS=ON \
-DSINGULARITY_USE_FORTRAN=OFF \
-DSINGULARITY_BUILD_FORTRAN_BACKEND=ON \
-DSINGULARITY_BUILD_TESTS=ON \
-DSINGULARITY_FORCE_SUBMODULE_MODE=ON \
-DSINGULARITY_USE_KOKKOS=ON \
..
make -j4