ayaports/.forgejo/workflows/action.yml

34 lines
856 B
YAML
Raw Normal View History

2024-08-11 20:00:48 +00:00
jobs:
lint:
run-name: lint
on: pull_request
2024-08-11 20:26:58 +00:00
runs-on: x86_64
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
build-x86_64:
run-name: Build on x86_64
2024-08-11 20:26:58 +00:00
on: pull_request
runs-on: x86_64
2024-08-11 20:07:24 +00:00
container:
image: alpine:edge
2024-08-11 20:00:48 +00:00
steps:
- run: |
2024-08-11 20:08:07 +00:00
sudo apk add alpine-sdk lua-aports sudo
sudo addgroup $USER abuild
export PATH="$PATH:$GITHUB_WORKSPACE/.gitlab/bin"
sudo -Eu $USER build.sh
2024-08-11 20:00:48 +00:00
- name: Upload math result for job 1
uses: actions/upload-artifact@v4
with:
name: package
path:
- packages/
- keys /