Skip to content

Commit

Permalink
Add matrix configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schildt <[email protected]>
  • Loading branch information
SebastianSchildt committed Sep 17, 2024
1 parent 2e52169 commit 2d78e44
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/buildcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ on:

jobs:
buildtest:

continue-on-error: ${{ matrix.experimental }}
strategy:
matrix: # this needs to be arrays
vss-tools-version: [master, master]
experimental: [false]
include: # this need to be single entities
- vss-tools-version: v4
experimental: true
name: Build Test
runs-on: ubuntu-latest

Expand All @@ -16,22 +25,25 @@ jobs:
submodules: true

- name: Install vss-tools dependencies
continue-on-error: ${{ matrix.experimental }}
run: |
python -V
python -m pip --quiet --no-input install --upgrade pip
python -m pip --quiet --no-input install --upgrade wheel
pip install pytest
# idlc currently used both during python test and later in this script
pip install cyclonedds
pip install git+https://github.com/COVESA/vss-tools@master
pip install git+https://github.com/COVESA/vss-tools@${{ matrix.vss-tools-version }}
sudo apt install -y protobuf-compiler
echo done!
- name: Test mandatory targets
continue-on-error: ${{ matrix.experimental }}
run: |
make mandatory_targets
- name: Test that ddsidl is correct
continue-on-error: ${{ matrix.experimental }}
run: |
idlc vss_rel_*.idl
Expand All @@ -43,6 +55,7 @@ jobs:
cache: false

- name: Test that CSV generated by vss-tools is correct
continue-on-error: ${{ matrix.experimental }}
run: |
# Install csvlint to check compliance with https://datatracker.ietf.org/doc/html/rfc4180
go install github.com/Clever/csvlint/cmd/csvlint@latest
Expand All @@ -52,6 +65,14 @@ jobs:
run: |
make -k optional_targets || true
docubuild:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install hugo
env:
HUGO_VER : 0.129.0
Expand Down

0 comments on commit 2d78e44

Please sign in to comment.