-
Notifications
You must be signed in to change notification settings - Fork 11
53 lines (45 loc) · 1.16 KB
/
ci.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build hyprland-virtual-desktops
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
gcc_main:
name: 'Build hyprland-virtual-desktops (main)'
runs-on: ubuntu-latest
container:
image: archlinux
steps:
- name: Checkout repository action
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions
- name: Setup base on main
uses: ./.github/actions/setup_base
if: github.ref == 'refs/heads/main'|| github.base_ref == 'main'
with:
INSTALL_XORG_PKGS: true
branch: 'v0.45.0'
hyprwayland: 'v0.4.2'
- name: Setup base on dev
uses: ./.github/actions/setup_base
if: github.ref == 'refs/heads/dev'|| github.base_ref == 'dev'
with:
INSTALL_XORG_PKGS: true
branch: 'main'
- name: Compile Hyprland
shell: bash
run: |
cd Hyprland
make all
make install
- name: Build hyprland-virtual-desktops
env:
PKG_CONFIG_PATH: "/usr/local/share/pkgconfig/"
run: |
make all