Skip to content

Commit 98e04b4

Browse files
m-tmatmatnyblom
authored andcommitted
add build matrix
1 parent 0b8d171 commit 98e04b4

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/build.yaml

+13-4
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,25 @@
1414
# You should have received a copy of the GNU General Public License
1515
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1616

17-
name: Build (Linux, Ubuntu 22.04)
17+
name: Build (Linux, Ubuntu)
1818

1919
on:
2020
- pull_request
2121
- push
2222

2323
jobs:
2424
build:
25-
name: Build (Linux, Ubuntu 22.04)
26-
runs-on: ubuntu-22.04
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
include:
29+
- runs-on: ubuntu-22.04
30+
qt: qt5-qmake
31+
- runs-on: ubuntu-18.04
32+
qt: qt5-default
33+
34+
name: Build (Linux, ${{ matrix.runs-on }})
35+
runs-on: ${{ matrix.runs-on }}
2736
steps:
2837
- name: 'Install build dependencies'
2938
run: |-
@@ -33,7 +42,7 @@ jobs:
3342
build-essential \
3443
libapr1-dev \
3544
libsvn-dev \
36-
qt5-qmake \
45+
${{ matrix.qt }} \
3746
qtbase5-dev
3847
3948
- name: 'Checkout Git branch'

0 commit comments

Comments
 (0)