From 91824532e248315eda5b373cb4c3c0fb122b42f6 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Fri, 1 Jan 2021 19:02:26 +0000 Subject: ci: Add win32 build to github actions Signed-off-by: GitHub --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a8e2bf..65cfc62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,3 +43,25 @@ jobs: - name: Configure Build & Test shell: bash run: ./travis.sh macos + + build-win32: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - uses: actions/cache@v2 + with: + path: c:\Users\runneradmin\AppData\Local\Temp\chocolatey + # This caches the cache, no need to make sure that this is invalidated + # chocolatey will do that for us. + key: chocolatey-cache + - name: Install Prerequisites + run: choco install openssl + - name: Configure Build & Test + shell: bash + run: | + cmake -E make_directory build/ + cmake -S . -B build/ + cmake --build build/ --config Debug --target INSTALL + ctest -V ./build/ -- cgit v1.2.1