File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616jobs :
1717 build :
1818 strategy :
19+ fail-fast : false
1920 matrix :
2021 os : ['macos-latest', 'ubuntu-24.04', 'ubuntu-22.04']
22+ qt : ['qt5', 'qt6']
2123 runs-on : ${{ matrix.os }}
2224
2325 steps :
2426 - uses : actions/checkout@v2
2527
28+ - name : Set variables Qt5
29+ run : |
30+ echo "QTPKG_MAC=qt@5" >> $GITHUB_ENV
31+ echo "QTPKG_UBUNTU=qtbase5-dev" >> $GITHUB_ENV
32+ if : matrix.qt == 'qt5'
33+
34+ - name : Set variables Qt6
35+ run : |
36+ echo "QTPKG_MAC=qt@6" >> $GITHUB_ENV
37+ echo "QTPKG_UBUNTU=qt6-base-dev" >> $GITHUB_ENV
38+ if : matrix.qt == 'qt6'
39+
2640 - name : Install dependencies (macOS)
27- run : brew install fftw liquid-dsp qt@5
41+ run : brew install fftw liquid-dsp ${{ env.QTPKG_MAC }}
2842 if : matrix.os == 'macos-latest'
2943
3044 - name : Install dependencies (Ubuntu)
3145 run : |
3246 sudo apt update
33- sudo apt install libfftw3-dev libliquid-dev qtbase5- dev
47+ sudo apt install libfftw3-dev libliquid-dev libgl1-mesa- dev ${{ env.QTPKG_UBUNTU }}
3448 if : startsWith(matrix.os, 'ubuntu-')
3549
3650 - name : Create Build Environment
You can’t perform that action at this time.
0 commit comments