From 769d183413b2c97477d05732ff692e57f97c5f99 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 11 Aug 2024 16:00:48 -0400 Subject: [PATCH] action.yml: initial x86_64 build --- action.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..51f86d8 --- /dev/null +++ b/action.yml @@ -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 /