File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 build :
1010 strategy :
1111 matrix :
12- os : [windows-latest, ubuntu-latest, macos-latest]
13- configuration : [Release]
14- platform : ['x64']
12+ include :
13+ - os : windows-latest
14+ configuration : Release
15+ platform : x64
16+ - os : ubuntu-latest
17+ configuration : Release
18+ platform : x64
19+ container : ubuntu:20.04
20+ - os : macos-latest
21+ configuration : Release
22+ platform : x64
1523 runs-on : ${{ matrix.os }}
1624
25+ container : ${{ matrix.container }}
26+
1727 steps :
1828 # Checkout code
1929 - name : Checkout code
2030 uses : actions/checkout@v3
2131
32+ - name : Install basic tools (Ubuntu 20.04)
33+ if : matrix.container == 'ubuntu:20.04'
34+ run : |
35+ apt-get update
36+ apt-get install -y git cmake make gcc g++ pkg-config
37+ apt-get install -y libyaml-dev libftdi1-dev libusb-1.0-0-dev
38+
2239 # Initialize the sub-module
2340 - name : Initialize submodules
2441 run : git submodule update --init
2542
2643 # Install dependencies
2744 - name : Install dependencies
28- if : matrix.os == 'ubuntu-latest'
45+ if : matrix.os == 'ubuntu-latest' && matrix.container != 'ubuntu:20.04'
2946 run : |
3047 sudo apt-get update
3148 sudo apt-get install -y libyaml-dev libftdi1-dev libusb-1.0-0-dev
You can’t perform that action at this time.
0 commit comments