Compare commits

...

2 Commits

Author SHA1 Message Date
Owen-sz 67a5a9065b test: bump alipad and see if riscv64 builds
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-06 23:48:20 -08:00
Owen-sz c9eaea7539 feat: add riscv64 runners
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-06 23:47:13 -08:00
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ jobs:
strategy: strategy:
matrix: matrix:
version: ["rawhide"] version: ["rawhide"]
arch: ["x86_64", "aarch64"] arch: ["x86_64", "aarch64", "riscv64"]
fail-fast: true fail-fast: true
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }} runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
container: container:
@@ -63,7 +63,7 @@ jobs:
run: dnf5 install -y ./anda-build/rpm/rpms/subatomic-*.rpm run: dnf5 install -y ./anda-build/rpm/rpms/subatomic-*.rpm
- name: Tidy up output directory - name: Tidy up output directory
run: rmdir anda-build/rpm/rpms/{noarch,aarch64,x86_64} | true run: rmdir anda-build/rpm/rpms/{noarch,aarch64,x86_64,riscv64} | true
- name: Upload packages to subatomic - name: Upload packages to subatomic
run: | run: |
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
git commit -a -m "tmp" git commit -a -m "tmp"
b=$(anda ci | sed -E 's@^build_matrix=@@') b=$(anda ci | sed -E 's@^build_matrix=@@')
if [ "${{ inputs.architecture }}" != "" ]; then if [ "${{ inputs.architecture }}" != "" ]; then
# e.g.: [ unique_by(.pkg)[] | (.arch="x86_64", .arch="aarch64") ] # e.g.: [ unique_by(.pkg)[] | (.arch="x86_64", .arch="aarch64", .arch="riscv64") ]
filter=`echo -n "${{ inputs.architecture }}" | tr '[:space:]' '\n' | sed -E '/^$/d; s@^.+$@.arch="\0"@' | tr '\n' ', '` filter=`echo -n "${{ inputs.architecture }}" | tr '[:space:]' '\n' | sed -E '/^$/d; s@^.+$@.arch="\0"@' | tr '\n' ', '`
b=`echo $b | jq -c '[unique_by(.pkg)[] | ('"$filter"')]'` b=`echo $b | jq -c '[unique_by(.pkg)[] | ('"$filter"')]'`
elif [ "${{ inputs.custom_builder }}" != "" ]; then elif [ "${{ inputs.custom_builder }}" != "" ]; then
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
pkg: ${{ fromJson(inputs.packages) }} pkg: ${{ fromJson(inputs.packages) }}
version: ["rawhide"] version: ["rawhide"]
fail-fast: false fail-fast: false
runs-on: ${{ inputs.custom_builder && inputs.custom_builder || (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'arm64-lg' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && format('cirun-x86-64-lg--{0}', github.run_id) || 'ubuntu-22.04' }} runs-on: ${{ inputs.custom_builder && inputs.custom_builder || (matrix.pkg.arch == 'riscv64' && 'milkv-pioneer') || (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'arm64-lg' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && format('cirun-x86-64-lg--{0}', github.run_id) || 'ubuntu-22.04' }}
container: container:
image: ghcr.io/terrapkg/builder:f${{ matrix.version }} image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
options: --cap-add=SYS_ADMIN --privileged options: --cap-add=SYS_ADMIN --privileged
+1 -1
View File
@@ -6,7 +6,7 @@
Name: alipad Name: alipad
Version: 0~%{commit_date}git.%{shortcommit} Version: 0~%{commit_date}git.%{shortcommit}
Release: 1%?dist Release: 2%?dist
Summary: Robust event check-in system Summary: Robust event check-in system
URL: https://git.sr.ht/~malicean/alipad URL: https://git.sr.ht/~malicean/alipad
Source0: https://git.sr.ht/~malicean/alipad/archive/%{commit}.tar.gz Source0: https://git.sr.ht/~malicean/alipad/archive/%{commit}.tar.gz