copy/.gitea/workflows/on-push.yaml
RYAN 3927e17954
All checks were successful
on-push / build-and-test (push) Successful in 18s
asd
2024-09-02 01:53:43 +02:00

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