-
Notifications
You must be signed in to change notification settings - Fork 5
61 lines (53 loc) · 1.38 KB
/
main.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: CI
on:
push:
branches:
- main
- 'releases/**'
paths-ignore:
- '**.md'
pull_request:
release:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test_on_linux:
name: Test on Linux containers (Ubuntu LTS)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container_version:
- G4.11.2
- G4.11.1
- G4.11.0
- slim
container: docker://gipert/remage-base:${{ matrix.container_version }}
steps:
- uses: actions/checkout@v4
- name: Build project
run: |
mkdir build
cd build
cmake ..
make
make install
- name: Run full test suite
if: ${{ matrix.container_version != 'slim' }}
run: |
cd build
ctest --output-on-failure --label-exclude 'vis'
- name: Run minimal test suite
if: ${{ matrix.container_version == 'slim' }}
run: |
cd build
ctest --output-on-failure --label-exclude 'extra|vis'
- name: Compare checked-in doc dump with current result
if: ${{ matrix.container_version != 'slim' }}
run: |
cd build
cp ../docs/rmg-commands.rst ../docs/rmg-commands.rst.bak
make remage-doc-dump
diff ../docs/rmg-commands.rst ../docs/rmg-commands.rst.bak
# vim: expandtab tabstop=2 shiftwidth=2