mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 11:05:58 +01:00
CI: add no PCH build (#5708)
This commit is contained in:
parent
5fdd0bceac
commit
aab1df50ab
2 changed files with 23 additions and 0 deletions
19
.github/workflows/ci.yaml
vendored
19
.github/workflows/ci.yaml
vendored
|
@ -63,6 +63,25 @@ jobs:
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: ninja -C build
|
run: ninja -C build
|
||||||
|
|
||||||
|
no-pch:
|
||||||
|
name: "Build Hyprland without precompiled headers (Arch)"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: archlinux
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository actions
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
sparse-checkout: .github/actions
|
||||||
|
|
||||||
|
- name: Setup base
|
||||||
|
uses: ./.github/actions/setup_base
|
||||||
|
with:
|
||||||
|
INSTALL_XORG_PKGS: true
|
||||||
|
|
||||||
|
- name: Compile
|
||||||
|
run: make nopch
|
||||||
|
|
||||||
noxwayland:
|
noxwayland:
|
||||||
name: "Build Hyprland in pure Wayland (Arch)"
|
name: "Build Hyprland in pure Wayland (Arch)"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -20,6 +20,10 @@ debug:
|
||||||
cmake --build ./build --config Debug --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Debug --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
chmod -R 777 ./build
|
chmod -R 777 ./build
|
||||||
|
|
||||||
|
nopch:
|
||||||
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -S . -B ./build -G Ninja
|
||||||
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
|
|
||||||
clear:
|
clear:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -f ./protocols/*-protocol.h ./protocols/*-protocol.c
|
rm -f ./protocols/*-protocol.h ./protocols/*-protocol.c
|
||||||
|
|
Loading…
Reference in a new issue