forked from kokkos/kokkos
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.36 KB
/
continuous-integration-workflow-32bit.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
38
39
40
41
42
43
44
45
46
47
name: github-Linux-32bit
on:
push:
branches:
- develop
pull_request:
paths-ignore:
- '**/*.md'
types: [ opened, reopened, synchronize ]
permissions: read-all
concurrency:
group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{github.event_name == 'pull_request'}}
jobs:
CI-32bit:
name: Linux-32bit
runs-on: ubuntu-latest
container:
image: ghcr.io/kokkos/ci-containers/ubuntu:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: install_multilib
run: sudo apt-get update && sudo apt-get install -y gcc-multilib g++-multilib gfortran-multilib
- name: Configure Kokkos
run: |
cmake -B builddir \
-DKokkos_ENABLE_OPENMP=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_BENCHMARKS=ON \
-DKokkos_ENABLE_EXAMPLES=ON \
-DKokkos_ENABLE_DEPRECATED_CODE_4=ON \
-DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DCMAKE_CXX_FLAGS="-Werror -m32" \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
- name: Build
run: |
cmake --build builddir --parallel 2
- name: Tests
working-directory: builddir
run: ctest --output-on-failure