aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7dc3aa9..e0c8853 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -39,6 +39,18 @@ jobs:
run: |
echo "path=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
+ - name: Install dependencies on Ubuntu
+ if: runner.os == 'Linux'
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y cmocka cmake
+
+ - name: Install dependencies on Windows
+ if: runner.os == 'Windows'
+ run: |
+ choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
+ choco install cmocka
+
- name: Configure CMake
run: >
cmake -B ${{ steps.build-output-dir.outputs.path }}