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

16 lines
359 B
YAML
Raw Normal View History

2024-09-01 23:31:52 +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:
- /src
- /build
steps:
- name: Init
run: bpkg create -d /src cc config.cxx=g++
- name: Build
run: cd /src && bpkg build $GITHUB_SERVER_URL/$GITHUB_REPOSITORY