From 7d73f4eb8ac69b2ebc131120543274ba475c56ed Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 12 Jul 2024 16:46:31 +0900 Subject: [PATCH] Update forgejo workflow to use libsodium --- .forgejo/workflows/unittests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/unittests.yml b/.forgejo/workflows/unittests.yml index a4e9041..58cc3a7 100644 --- a/.forgejo/workflows/unittests.yml +++ b/.forgejo/workflows/unittests.yml @@ -6,9 +6,15 @@ on: jobs: build-and-run-tests: - runs-on: any_archLinux + runs-on: docker_arch steps: + - run: pacman --noconfirm -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 + name: Get repository - run: cd UDPC && git checkout $GITHUB_REF_NAME + name: Checkout git repository - run: cd UDPC && cmake -S . -B buildDebug -DCMAKE_BUILD_TYPE=Debug + name: Configure with CMake - run: make -C UDPC/buildDebug && ./UDPC/buildDebug/UnitTest + name: Build and test