Fetch repository content using bpkg
This commit is contained in:
parent
aa48b0a903
commit
92cae4a5df
@ -8,11 +8,14 @@ jobs:
|
||||
volumes:
|
||||
- /build
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Initialize
|
||||
run: bdep init -C /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror"
|
||||
- name: Build
|
||||
run: b
|
||||
- name: Test
|
||||
run: b test
|
||||
- name: Login (.netrc)
|
||||
run: |
|
||||
echo machine code.helloryan.se >> ~/.netrc
|
||||
echo login $GITHUB_ACTOR >> ~/.netrc
|
||||
echo password ${{ secrets.GITEA_TOKEN}} >> ~/.netrc
|
||||
- name: Initialize (bpkg)
|
||||
run: bpkg create -d /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror"
|
||||
- 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