libarc-uri/.gitea/workflows/on-push.yaml
RYAN 1c99bba63f
Some checks failed
on-push / build-and-test (push) Failing after 4s
Use bpkg for fetching repo in Gitea workflow
2024-09-02 02:33:05 +02:00

17 lines
501 B
YAML

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: 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