Test
Some checks failed
PostmarketOS Build / Build for aarch64 (push) Failing after 3s
PostmarketOS Build / Build for x86_64 (push) Failing after 2s

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-06-07 17:11:06 +03:00
parent 5b5c58d6dc
commit a75ce62706
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
2 changed files with 17 additions and 23 deletions

View file

@ -1,4 +1,5 @@
name: PostmarketOS build name: PostmarketOS Build
run-name: PostmarketOS Build
on: on:
push: push:
workflow_dispatch: workflow_dispatch:
@ -6,29 +7,22 @@ on:
jobs: jobs:
build: build:
runs-on: Pmbootstrap runs-on: Pmbootstrap
strategy:
matrix:
info:
- arch: x86_64
- arch: aarch64
name: Build for ${{ matrix.info.arch }}
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Make temp package dir - name: Build package
run: mkdir -p /data/pmaports/temp/libcamera id: build
- name: Copy APKBUILD to this dir uses: actions/pmbootstrap-build@main
run: cp ${{ github.workspace }}/misc/APKBUILD /data/pmaports/temp/libcamera
- name: Clear local-built packages
run: pmbootstrap -y zap -p
- name: Run PostmarketOS build
run: pmbootstrap build --force libcamera --src ${{ github.workspace }} --arch aarch64
- name: Upload artifacts
uses: actions/upload-artifact@v3
with: with:
name: build-files name: libcamera
path: /data/work/packages/edge/aarch64/*.apk aports: ${{github.workspace}}/misc/alpine
- name: Upload to package registry arch: ${{ matrix.info.arch }}
run: > src: ${{github.workspace}}
for apk in /data/work/packages/edge/aarch64/*.apk ; do - name: Print new packages
echo -- Uploading $apk run: echo "${{steps.build.outputs.packages}}"
curl -H "Authorization: token ${{secrets.PACKAGE_TOKEN}}" \
--upload-file $apk \
${{github.server_url}}/api/packages/${{github.repository_owner}}/alpine/edge/nightly
done
- name: Clean up
run: pmbootstrap -y zap -p