ayaports/.forgejo/workflows/action.yaml

38 lines
952 B
YAML
Raw Normal View History

2024-08-11 20:00:48 +00:00
jobs:
lint:
run-name: lint
2024-08-11 20:26:58 +00:00
runs-on: x86_64
2024-08-11 20:29:03 +00:00
on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
2024-08-11 20:07:24 +00:00
container:
image: alpine:edge
2024-08-11 20:00:48 +00:00
steps:
- run: |
sudo apk add shellcheck atools sudo abuild
export PATH="$PATH:$GITHUB_WORKSPACE/.gitlab/bin"
lint
continue-on-error: true
2024-08-11 20:29:03 +00:00
build-x86_64:
run-name: Build on x86_64
on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
runs-on: x86_64
container:
image: alpine:edge
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 /