action.yml: initial x86_64 build

This commit is contained in:
Antoine Martin 2024-08-11 16:00:48 -04:00
parent dee83b7b1b
commit 769d183413
Signed by: forge
GPG key ID: D62A472A4AA7D541

30
action.yml Normal file
View file

@ -0,0 +1,30 @@
jobs:
lint:
run-name: lint
on: pull_request
runs-on: ayakael-podman-x86_64
image: alpine-latest
steps:
- run: |
sudo apk add shellcheck atools sudo abuild
export PATH="$PATH:$GITHUB_WORKSPACE/.gitlab/bin"
lint
continue-on-error: true
build-x86_64:
run-name: Build on x86_64
runs-on: ayakael-podman-x86_64
image: alpine-latest
steps:
- run: |
sudo apk add alpine-sdk lua-aports sudo
sudo addgroup $USER abuild
export PATH="$PATH:$GITHUB_WORKSPACE/.gitlab/bin"
sudo -Eu $USER build.sh
- name: Upload math result for job 1
uses: actions/upload-artifact@v4
with:
name: package
path:
- packages/
- keys /