Skip to content

Commit

Permalink
Fix CI workflow (#441)
Browse files Browse the repository at this point in the history
* Update workflow trigger
* Update Visual Studio version
* Use gcovr from apt instead of pip

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Co-authored-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
Co-authored-by: Sébastien LAIGRE <slaigre@silicom.fr>
  • Loading branch information
3 people authored Jul 11, 2022
1 parent f31106a commit a26a91c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

name: CI

on: [push]
on:
push:
branches:
- 'main'
- 'release-v**'
pull_request:

defaults:
run:
Expand Down Expand Up @@ -73,7 +78,7 @@ jobs:
- name: Install LibXml2
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
choco install wget --no-progress
wget -nv %LIBXML2_URL%
7z x v2.9.10.zip
Expand Down Expand Up @@ -121,7 +126,9 @@ jobs:
java-version: 11

- name: Install gcovr
run: sudo pip install gcovr
run: |
sudo apt-get update -y
sudo apt-get install -y gcovr
- name: Install Sonar wrapper
working-directory: ${{ runner.workspace }}
Expand Down

0 comments on commit a26a91c

Please sign in to comment.