From 0498835bb28f446b28fa0b4dcd37a1b603ab2c01 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 8 Jun 2024 22:57:56 +0200 Subject: [PATCH] ci --- .github/workflows/arch.yml | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index b134e3f..02a1994 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -2,43 +2,6 @@ name: Build & Test (Arch) on: [push, pull_request, workflow_dispatch] jobs: - gcc: - name: "gcc build / clang test" - runs-on: ubuntu-latest - container: - image: archlinux - steps: - - name: Checkout repository actions - uses: actions/checkout@v4 - with: - sparse-checkout: .github/actions - - - name: Get required pkgs - run: | - sed -i 's/SigLevel = Required DatabaseOptional/SigLevel = Optional TrustAll/' /etc/pacman.conf - pacman --noconfirm --noprogressbar -Syyu - pacman --noconfirm --noprogressbar -Sy gcc base-devel cmake clang libc++ git - - - name: Get hyprutils-git - run: | - git clone https://github.com/hyprwm/hyprutils && cd hyprutils && cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -B build && cmake --build build --target hyprutils && cmake --install build - - - name: Build hyprlang with gcc - run: | - CC="/usr/bin/gcc" CXX="/usr/bin/g++" cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_CXX_FLAGS="-stdlib=libc++" -S . -B ./build - CC="/usr/bin/gcc" CXX="/usr/bin/g++" cmake --build ./build --config Release --target hyprlang -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` - cmake --install ./build - - - name: Build tests with clang - run: | - rm -rf ./build - CC="/usr/bin/clang" CXX="/usr/bin/clang++" cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_CXX_FLAGS="-stdlib=libc++" -S . -B ./build - CC="/usr/bin/clang" CXX="/usr/bin/clang++" cmake --build ./build --config Release --target tests -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` - - - name: Run tests - run: | - cd ./build && ctest --output-on-failure - asan: name: "gcc build / ASan tests" runs-on: ubuntu-latest