17 lines
459 B
YAML
17 lines
459 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 --trust-yes build $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git##$GITHUB_SHA
|
|
- name: Test
|
|
run: cd /build && bpkg --trust-yes test libcopy-test
|