action.yml: initial x86_64 build
This commit is contained in:
parent
dee83b7b1b
commit
769d183413
1 changed files with 30 additions and 0 deletions
30
action.yml
Normal file
30
action.yml
Normal 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 /
|
Loading…
Reference in a new issue