2022-11-15 03:12:43 +11:00
|
|
|
name: Check git build for Arch.
|
2022-11-14 01:58:24 +11:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2022-11-15 03:12:43 +11:00
|
|
|
arch-build-git:
|
2022-11-14 01:58:24 +11:00
|
|
|
container: archlinux:latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
# It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers
|
|
|
|
- name: Check out sources
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
path: swayfx
|
|
|
|
|
|
|
|
- name: Git makepkg build and check
|
|
|
|
id: makepkg
|
|
|
|
uses: edlanglois/pkgbuild-action@v1
|
|
|
|
with:
|
|
|
|
pkgdir: ./swayfx/build-scripts/aur-git
|