diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2021-01-01 19:02:26 +0000 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2021-02-21 23:27:44 -0800 |
commit | 91824532e248315eda5b373cb4c3c0fb122b42f6 (patch) | |
tree | b6344beddfd37c60712e152dd449e6017dce5b52 | |
parent | 6d826c8b8a838aa366bb7e9b8910611392e14559 (diff) | |
download | rabbitmq-c-91824532e248315eda5b373cb4c3c0fb122b42f6.tar.gz |
ci: Add win32 build to github actions
Signed-off-by: GitHub <noreply@github.com>
-rw-r--r-- | .github/workflows/ci.yml | 22 |
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/ |