Skip to content

Commit 670fa80

Browse files
author
Werner
committed
add tests for contribs
1 parent 399da67 commit 670fa80

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

.github/workflows/contribs.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: contribs
2+
on: [push, pull_request]
3+
jobs:
4+
ci-cmake:
5+
name: ${{ matrix.name }}
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
include:
11+
- name: Ubuntu all contribs
12+
os: ubuntu-latest
13+
cmake-args: -DZLIB_BUILD_ADA=ON -DZLIB_BUILD_BLAST=ON -DZLIB_BUILD_IOSTREAM3=ON -DZLIB_BUIL_MINIZIP=ON -DZLIB_BUILD_PUFF=ON -DZLIB_WITH_INFBACK9=ON -DZLIB_WITH_CRC32VX=ON -DZLIB_WITH_GVMAT64=ON
14+
src_dir: .
15+
16+
- name: Ubuntu ADA
17+
os: ubuntu-latest
18+
src_dir: contrib/ada
19+
20+
- name: Ubuntu BLAST
21+
os: ubuntu-latest
22+
src_dir: contrib/blast
23+
24+
- name: Ubuntu IOSTREAM
25+
os: ubuntu-latest
26+
src_dir: contrib/iostream3
27+
28+
- name: Ubuntu MINIZIP
29+
os: ubuntu-latest
30+
src_dir: contrib/minizip
31+
32+
- name: Ubuntu PUFF
33+
os: ubuntu-latest
34+
src_dir: contrib/puff
35+
36+
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v4
39+
40+
- name: Install packages (Linux)
41+
run: |
42+
sudo apt install gnat libbz2-dev
43+
44+
- name: Generate project files
45+
run: cmake -S ${{ matrix.src_dir }} -B ../build ${{ matrix.cmake-args }} -DCMAKE_BUILD_TYPE=Release
46+
47+
- name: Compile source code
48+
run: cmake --build ../build --config Release
49+
50+
- name: Run test cases
51+
run: ctest -C Release --output-on-failure --max-width 120
52+
working-directory: ../build

0 commit comments

Comments
 (0)