forked from arc/libarc-uri
Fetch repository content using bpkg
All checks were successful
on-push / build-and-test (push) Successful in 16s
All checks were successful
on-push / build-and-test (push) Successful in 16s
This commit is contained in:
parent
aa48b0a903
commit
92cae4a5df
@ -8,11 +8,14 @@ jobs:
|
|||||||
volumes:
|
volumes:
|
||||||
- /build
|
- /build
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Login (.netrc)
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
- name: Initialize
|
echo machine code.helloryan.se >> ~/.netrc
|
||||||
run: bdep init -C /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror"
|
echo login $GITHUB_ACTOR >> ~/.netrc
|
||||||
- name: Build
|
echo password ${{ secrets.GITEA_TOKEN}} >> ~/.netrc
|
||||||
run: b
|
- name: Initialize (bpkg)
|
||||||
- name: Test
|
run: bpkg create -d /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror"
|
||||||
run: b test
|
- name: Build (bpkg)
|
||||||
|
run: cd /build && bpkg build --yes $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git##$GITHUB_SHA
|
||||||
|
- name: Test (bpkg)
|
||||||
|
run: cd /build && bpkg test libarc-uri
|
||||||
|
Loading…
Reference in New Issue
Block a user