-
Notifications
You must be signed in to change notification settings - Fork 10
44 lines (37 loc) · 933 Bytes
/
build.yml
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
39
40
41
42
43
44
name: Build
on:
push:
branches:
- develop
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
BUILD_TYPE: Debug
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
build:
name: Build
runs-on: ubuntu-latest
container: archlinux:base-devel
steps:
- uses: actions/checkout@v4
- name: install deps
run: |
pacman -Syu --noconfirm cmake pkg-config ninja clang rust mold llvm libc++ qt6-base qt6-tools polkit-qt6 python git
shell: bash
- name: Configure CMake
run: |
export AR=llvm-ar
export CC=clang
export CXX=clang++
export NM=llvm-nm
export RANLIB=llvm-ranlib
./configure.sh -t=Debug -p=${{github.workspace}}/build --use_clang
shell: bash
- name: Build
run: |
./build.sh
shell: bash