diff options
| author | thejch <66577496+thejch@users.noreply.github.com> | 2024-04-23 01:02:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-23 11:02:51 +0300 |
| commit | aab1df50abbf2cd3da7837e7b457b943907a0b3e (patch) | |
| tree | 965268fe1c5ab00ebb6c79598670c55d6eb5b704 | |
| parent | 5fdd0bceac9b8b60e68635226de57c3d18d0a034 (diff) | |
CI: add no PCH build (#5708)
| -rw-r--r-- | .github/workflows/ci.yaml | 19 | ||||
| -rw-r--r-- | Makefile | 4 |
2 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f5ed44dd..6d25e027 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -63,6 +63,25 @@ jobs: - name: Compile 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: name: "Build Hyprland in pure Wayland (Arch)" runs-on: ubuntu-latest @@ -20,6 +20,10 @@ debug: cmake --build ./build --config Debug --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` 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: rm -rf build rm -f ./protocols/*-protocol.h ./protocols/*-protocol.c |
