copy/.gitea/workflows/on-push.yaml

17 lines
447 B
YAML
Raw Normal View History

2024-09-01 23:43:44 +00:00
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
2024-09-01 23:52:35 +00:00
run: cd /build && bpkg build --yes $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git##$GITHUB_SHA
2024-09-01 23:43:44 +00:00
- name: Test
2024-09-01 23:52:35 +00:00
run: cd /build && bpkg test --yes libcopy-test