Update forgejo workflow to use libsodium
Some checks failed
Run UnitTests / build-and-run-tests (push) Failing after 2s

This commit is contained in:
Stephen Seo 2024-07-12 16:46:31 +09:00
parent 4d0e439c0e
commit 8f39cb51db

View file

@ -6,9 +6,15 @@ on:
jobs: jobs:
build-and-run-tests: build-and-run-tests:
runs-on: any_archLinux runs-on: docker_arch
steps: steps:
- run: pacman -Syu git cmake libsodium
name: Update and get dependencies
- 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
name: Checkout git repository
- run: cd UDPC && cmake -S . -B buildDebug -DCMAKE_BUILD_TYPE=Debug - run: cd UDPC && cmake -S . -B buildDebug -DCMAKE_BUILD_TYPE=Debug
name: Configure with CMake
- run: make -C UDPC/buildDebug && ./UDPC/buildDebug/UnitTest - run: make -C UDPC/buildDebug && ./UDPC/buildDebug/UnitTest
name: Build and test