Update forgejo workflow to use libsodium
Some checks failed
Run UnitTests / build-and-run-tests (push) Has been cancelled
Some checks failed
Run UnitTests / build-and-run-tests (push) Has been cancelled
This commit is contained in:
parent
4d0e439c0e
commit
61176a62fe
1 changed files with 13 additions and 3 deletions
|
@ -6,9 +6,19 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-run-tests:
|
build-and-run-tests:
|
||||||
runs-on: any_archLinux
|
runs-on: docker_arch
|
||||||
steps:
|
steps:
|
||||||
|
- run: pacman --noconfirm --needed -Sy archlinux-keyring
|
||||||
|
name: Update pacman keyring
|
||||||
|
- run: pacman --noconfirm -Su git cmake libsodium python
|
||||||
|
name: Update and get dependencies
|
||||||
|
- run: python -m venv conan_venv && source conan_venv/bin/activate && pip install conan
|
||||||
|
name: Get conan
|
||||||
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/UDPConnection.git UDPC
|
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/UDPConnection.git UDPC
|
||||||
|
name: Get repository
|
||||||
- run: cd UDPC && git checkout $GITHUB_REF_NAME
|
- run: cd UDPC && git checkout $GITHUB_REF_NAME
|
||||||
- run: cd UDPC && cmake -S . -B buildDebug -DCMAKE_BUILD_TYPE=Debug
|
name: Checkout git repository
|
||||||
- run: make -C UDPC/buildDebug && ./UDPC/buildDebug/UnitTest
|
- run: source conan_venv/bin/activate && conan build UDPC -of buildConan --settings=build_type=Debug --build=missing
|
||||||
|
name: Build with conan
|
||||||
|
- run: find buildConan -name UnitTest -execdir './{}' ';'
|
||||||
|
name: Test
|
||||||
|
|
Loading…
Reference in a new issue