summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-01-01 19:02:26 +0000
committerGitHub <noreply@github.com>2021-02-17 08:24:36 +0000
commitd38d67fee0b10314b83bc5e30b2dcbbfa8fc6839 (patch)
tree505b72716de022328d863b2c25faeb9b01fda81c
parent6d826c8b8a838aa366bb7e9b8910611392e14559 (diff)
downloadrabbitmq-c-gh-actions.tar.gz
ci: Add win32 build to github actionsgh-actions
Signed-off-by: GitHub <noreply@github.com>
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0a8e2bf..7755cd1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,3 +43,23 @@ 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
+ key: chocolatey-cache-${{ hashFiles('.github/workflows/ci.yml') }}
+ - 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/