summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml43
1 files changed, 1 insertions, 42 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 2857c77a..d14ac02e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -21,7 +21,7 @@ jobs:
- name: Build Hyprland
run: |
- CFLAGS=-Werror CXXFLAGS=-Werror make all
+ CFLAGS=-Werror CXXFLAGS=-Werror make nopch
- name: Compress and package artifacts
run: |
@@ -41,47 +41,6 @@ jobs:
name: Build archive
path: Hyprland.tar.xz
- no-pch:
- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
- 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:
- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
- name: "Build Hyprland in pure Wayland (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
-
- - name: Configure
- run: mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DNO_XWAYLAND:STRING=true -H./ -B./build -G Ninja
-
- - name: Compile
- run: make release
-
clang-format:
permissions: read-all
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork