copy/.gitea/workflows/on-push.yaml
RYAN 67a74bb7bb
Some checks failed
on-push / build-and-test (push) Failing after 7s
wip
2024-09-02 01:43:44 +02:00

17 lines
422 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: Init
run: bpkg create -d /build cc config.cxx=g++
- name: Build
run: cd /build && bpkg build $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git##$GITHUB_SHA
- name: Test
run: cd /build && bpkg test