Skip to content

librewolf: update to 126.0.1-1. #7

librewolf: update to 126.0.1-1.

librewolf: update to 126.0.1-1. #7

Workflow file for this run

name: build
on:
push:
tags:
- '*'
jobs:
build:
strategy:
max-parallel: 1
matrix:
arch: [x86_64, x86_64-musl]
runs-on: ubuntu-latest
env:
XBPS_PASSPHRASE: ${{ secrets.SIGN_PASS }}
XBPS_TARGET_ARCH: ${{ matrix.arch }}
steps:
- name: checkout librewolf-void
uses: actions/checkout@v4
with:
ref: master
path: librewolf
- name: checkout void-packages
uses: actions/checkout@v4
with:
repository: void-linux/void-packages
ref: master
path: void-packages
- name: copy
run: cp -rv librewolf/srcpkgs/librewolf void-packages/srcpkgs
- name: prepare xbps-static
run: |
mkdir -p /opt/xbps
curl -LO http://repo-default.voidlinux.org/static/xbps-static-latest.x86_64-musl.tar.xz
tar xvf xbps-static-latest.x86_64-musl.tar.xz -C /opt/xbps
rm xbps-static-latest.x86_64-musl.tar.xz
- name: free space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
- name: build
run: |
export PATH="/opt/xbps/usr/bin/:$PATH"
cd void-packages
./xbps-src -m masterdir-${{ matrix.arch }} -A ${{ matrix.arch }} binary-bootstrap
./xbps-src pkg -j4 -m masterdir-${{ matrix.arch }} librewolf
- name: sign
working-directory: void-packages/hostdir/binpkgs/
run: |
export PATH="/opt/xbps/usr/bin/:$PATH"
xbps-rindex -r $PWD
xbps-rindex -s --signedby "index-0 <[email protected]>" --privkey <(printf '%s' "${{ secrets.PRIV_KEY }}") $PWD
xbps-rindex -S --privkey <(printf '%s' "${{ secrets.PRIV_KEY }}") $PWD/*.xbps
xbps-rindex -c $PWD
- name: checksum
working-directory: void-packages/hostdir/binpkgs/
run: |
sha256sum $(echo librewolf-*.${{ matrix.arch }}.xbps) | tee $(echo librewolf-*.${{ matrix.arch }}.xbps).sha256sum
sha512sum $(echo librewolf-*.${{ matrix.arch }}.xbps) | tee $(echo librewolf-*.${{ matrix.arch }}.xbps).sha512sum
- name: release
uses: softprops/action-gh-release@v1
with:
files: |
void-packages/hostdir/binpkgs/librewolf*
void-packages/hostdir/binpkgs/*repodata