Use bpkg for fetching repo in Gitea workflow
Some checks failed
on-push / build-and-test (push) Failing after 4s

This commit is contained in:
RYAN 2024-09-02 02:31:47 +02:00
parent aa48b0a903
commit 316ad03203
Signed by: RYAN
GPG Key ID: 3BD93EABD1407B82

View File

@ -8,11 +8,9 @@ jobs:
volumes: volumes:
- /build - /build
steps: steps:
- name: Check out repository code - name: Initialize (bpkg)
uses: actions/checkout@v4 run: bpkg create -d /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror"
- name: Initialize - name: Build (bpkg)
run: bdep init -C /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror" run: cd /build && bpkg build --yes $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git##GITHUB_SHA
- name: Build - name: Test (bpkg)
run: b run: cd /build && bpkg test libarc-uri
- name: Test
run: b test