-
Notifications
You must be signed in to change notification settings - Fork 39
38 lines (37 loc) · 1010 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
CC: gcc
CXX: g++
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
run: |
sudo add-apt-repository universe -y
sudo apt update -y
sudo apt install -y cmake \
gcc \
g++ \
libgl1-mesa-dev \
qt6-base-dev \
qt6-l10n-tools \
qt6-tools-dev \
qt6-tools-dev-tools \
qt6-wayland-dev
- name: Configure
env:
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
run: |
cmake -DCMAKE_BUILD_TYPE=Release -S ${{ github.workspace }} -B build
- name: Build
run: |
cmake --build build --parallel