Skip to content

Commit

Permalink
Merge pull request #76 from taj-ny/workflows/arch-linux
Browse files Browse the repository at this point in the history
workflows: add arch linux
  • Loading branch information
taj-ny authored Jun 9, 2024
2 parents 8a6b024 + 1adb849 commit b1a27bf
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/arch-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Arch Linux

on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:base-devel
options: --user root

steps:
- name: Refresh Packages
run: pacman -Syu --noconfirm

- name: Install Dependencies
run: pacman -S --noconfirm base-devel git extra-cmake-modules qt6-tools kwin

- name: Check out repository
uses: actions/checkout@v4

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

0 comments on commit b1a27bf

Please sign in to comment.