Skip to content

Commit 13f2ccf

Browse files
Add matrix configuration
Signed-off-by: Sebastian Schildt <[email protected]>
1 parent 2e52169 commit 13f2ccf

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/buildcheck.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ on:
77

88
jobs:
99
buildtest:
10+
11+
continue-on-error: ${{ matrix.experimental }}
12+
strategy:
13+
matrix: # this needs to be an array. We should only list "known good/expected to work" vss-tools versions here
14+
vss-tools-version: [master]
15+
experimental: [false]
16+
include: # this need to be single entities, this should list master and poentially other experimental versions
17+
- vss-tools-version: v4
18+
experimental: true
1019
name: Build Test
1120
runs-on: ubuntu-latest
1221

@@ -16,22 +25,25 @@ jobs:
1625
submodules: true
1726

1827
- name: Install vss-tools dependencies
28+
#continue-on-error: ${{ matrix.experimental }}
1929
run: |
2030
python -V
2131
python -m pip --quiet --no-input install --upgrade pip
2232
python -m pip --quiet --no-input install --upgrade wheel
2333
pip install pytest
2434
# idlc currently used both during python test and later in this script
2535
pip install cyclonedds
26-
pip install git+https://github.com/COVESA/vss-tools@master
36+
pip install git+https://github.com/COVESA/vss-tools@${{ matrix.vss-tools-version }}
2737
sudo apt install -y protobuf-compiler
2838
echo done!
2939
3040
- name: Test mandatory targets
41+
#continue-on-error: ${{ matrix.experimental }}
3142
run: |
3243
make mandatory_targets
3344
3445
- name: Test that ddsidl is correct
46+
#continue-on-error: ${{ matrix.experimental }}
3547
run: |
3648
idlc vss_rel_*.idl
3749
@@ -43,6 +55,7 @@ jobs:
4355
cache: false
4456

4557
- name: Test that CSV generated by vss-tools is correct
58+
#continue-on-error: ${{ matrix.experimental }}
4659
run: |
4760
# Install csvlint to check compliance with https://datatracker.ietf.org/doc/html/rfc4180
4861
go install github.com/Clever/csvlint/cmd/csvlint@latest
@@ -52,6 +65,14 @@ jobs:
5265
run: |
5366
make -k optional_targets || true
5467
68+
docubuild:
69+
name: Build Docs
70+
runs-on: ubuntu-latest
71+
steps:
72+
- uses: actions/checkout@v4
73+
with:
74+
submodules: true
75+
5576
- name: Install hugo
5677
env:
5778
HUGO_VER : 0.129.0

0 commit comments

Comments
 (0)