Add release binaries from git main #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build binaries | |
on: push | |
permissions: | |
actions: read | |
jobs: | |
build: | |
strategy: | |
matrix: | |
base: | |
- docker.io/library/ubuntu:22.04 | |
- docker.io/library/ubuntu:24.04 | |
- quay.io/fedora/fedora:41 | |
- quay.io/centos/centos:stream9 | |
runs-on: ubuntu-24.04 | |
container: ${{ matrix.base }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: ./hacking/installdeps.sh | |
- name: Configure | |
run: meson setup build --prefix=/usr -Dfuse=disabled | |
- name: Build | |
run: meson compile -C build | |
- name: Capture build | |
run: DESTDIR=$(pwd)/instroot meson install -C build && \ | |
tar -C instroot --sort=name --owner=0 --group=0 --numeric-owner \ | |
--mtime=$(git log -1 --pretty=%ct) \ | |
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \ | |
-czf composefs.tar.gz . | |
- name: Upload binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: composefs-${{ matrix.base }}.tar | |
path: composefs.tar.gz | |
- name: Upload log | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: testlog-asan.txt | |
path: build/meson-logs/testlog.txt |