CI: make dist
test (extract archive, run CMake)
#656
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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 |