drop build
Some checks failed
/ deploy-x86_64 (pull_request) Successful in 25s
/ lint (pull_request) Failing after 25s
/ build-aarch64 (pull_request) Successful in 9m2s
/ deploy-aarch64 (pull_request) Successful in 1m5s

This commit is contained in:
Antoine Martin 2024-08-22 23:30:35 -04:00
parent 5cadfdad35
commit e556367d5c
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -7,37 +7,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: 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:
- name: Environment setup
run: |
doas apk add nodejs git patch curl
cd /etc/apk/keys
doas curl -JO https://ayakael.net/api/packages/forge/alpine/key
- name: Repo pull
uses: actions/checkout@v4
with:
fetch-depth: 500
- name: Package build
run: |
doas patch -d / -p1 -i ${{ github.workspace }}/.forgejo/patches/build.patch
build.sh
- name: Package upload
uses: forgejo/upload-artifact@v3
with:
name: package
path: packages
deploy-x86_64: deploy-x86_64:
needs: [build-x86_64]
runs-on: x86_64 runs-on: x86_64
container: container:
image: alpine:latest image: alpine:latest
@ -50,8 +20,6 @@ jobs:
run: apk add nodejs curl findutils git gawk jq run: apk add nodejs curl findutils git gawk jq
- name: Repo pull - name: Repo pull
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Package download
uses: forgejo/download-artifact@v3
- name: Package deployment - name: Package deployment
run: curl -s $GITUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }} | jq .draft run: curl -s $GITUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }} | jq .draft