ayaports/.forgejo/workflows/build.yaml
Antoine Martin 707a34baac
Some checks failed
/ build-x86_64 (pull_request) Failing after 27s
/ lint (pull_request) Failing after 23s
attempt fix
2024-08-11 18:00:28 -04:00

27 lines
918 B
YAML

on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
jobs:
build-x86_64:
runs-on: x86_64
container:
image: alpinelinux/alpine-gitlab-ci:latest
env:
CI_PROJECT_DIR: ${{ github.workspace }}
CI_DEBUG_BUILD: ${{ runner.debug }}
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
steps:
- run: doas apk add nodejs git patch
- run: doas wget -P /etc/apk/keys 'https://ayakael.net/pkgs/apk/raw/branch/edge/antoine.martin@protonmail.com-5b3109ad.rsa.pub'
- uses: forgejo/upload-artifact@v4
with:
fetch-depth: 500
- run: doas patch -d / -p1 -i ${{ github.workspace }}/.forgejo/patches/build.patch
- run: build.sh
- uses: actions/upload-artifact@v4
with:
name: package
path: packages