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:
push:
workflow_dispatch:
@ -6,29 +7,22 @@ on:
jobs:
build:
runs-on: Pmbootstrap
strategy:
matrix:
info:
- arch: x86_64
- arch: aarch64
name: Build for ${{ matrix.info.arch }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Make temp package dir
run: mkdir -p /data/pmaports/temp/libcamera
- name: Copy APKBUILD to this dir
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
- name: Build package
id: build
uses: actions/pmbootstrap-build@main
with:
name: build-files
path: /data/work/packages/edge/aarch64/*.apk
- name: Upload to package registry
run: >
for apk in /data/work/packages/edge/aarch64/*.apk ; do
echo -- Uploading $apk
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
name: libcamera
aports: ${{github.workspace}}/misc/alpine
arch: ${{ matrix.info.arch }}
src: ${{github.workspace}}
- name: Print new packages
run: echo "${{steps.build.outputs.packages}}"