From 23480dc932858d275a594e1fd16e9cde60f1df23 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 11 Aug 2024 16:33:45 -0400 Subject: [PATCH] add pr ci --- .forgejo/workflows/action.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .forgejo/workflows/action.yaml diff --git a/.forgejo/workflows/action.yaml b/.forgejo/workflows/action.yaml new file mode 100644 index 0000000..418a0c0 --- /dev/null +++ b/.forgejo/workflows/action.yaml @@ -0,0 +1,31 @@ +jobs: + lint: + run-name: lint + runs-on: x86_64 + container: + image: alpine:edge + 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: 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 /