name: on-push on: [push] jobs: build-and-test: runs-on: linux container: code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:latest volumes: - /build steps: - name: Login (.netrc) run: | echo machine code.helloryan.se >> ~/.netrc echo login $GITHUB_ACTOR >> ~/.netrc echo password ${{ secrets.GITEA_TOKEN}} >> ~/.netrc - name: Initialize (bpkg) run: bpkg create -d /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror" - name: Build (bpkg) run: cd /build && bpkg build --yes $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git##$GITHUB_SHA - name: Test (bpkg) run: cd /build && bpkg test libarc-uri