diff options
Diffstat (limited to '.github/workflows/build-archlinux.yml')
-rw-r--r-- | .github/workflows/build-archlinux.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/build-archlinux.yml b/.github/workflows/build-archlinux.yml new file mode 100644 index 000000000..d2300f71d --- /dev/null +++ b/.github/workflows/build-archlinux.yml @@ -0,0 +1,38 @@ +name: ArchLinux PKGBUILD + +on: + push: + branches: + - main + - tmp + pull_request: + branches: + - main + types: [opened, synchronize, reopened] + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + env: + CMAKE_C_FLAGS: -Werror + steps: + - uses: actions/checkout@v4 + with: + submodules: false + fetch-depth: 1 + - name: Prepare for ArchLinux packaging + run: | + sudo chmod -R 0777 . + mv -v packages/archlinux packages/ndpid-testing + - uses: 2m/arch-pkgbuild-builder@v1.16 + with: + debug: true + target: 'pkgbuild' + pkgname: 'packages/ndpid-testing' + - name: Upload PKG + uses: actions/upload-artifact@v4 + with: + name: nDPId-archlinux-packages + path: packages/ndpid-testing/*.pkg.tar.zst |