summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-01-01 19:02:26 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2021-02-21 23:27:44 -0800
commit91824532e248315eda5b373cb4c3c0fb122b42f6 (patch)
treeb6344beddfd37c60712e152dd449e6017dce5b52 /.github
parent6d826c8b8a838aa366bb7e9b8910611392e14559 (diff)
downloadrabbitmq-c-91824532e248315eda5b373cb4c3c0fb122b42f6.tar.gz
ci: Add win32 build to github actions
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 22 insertions, 0 deletions
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/