Fixed stupid ahh mistake that was bitwise or instead of exponent #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake on Windows | |
on: | |
push: | |
branches: [ "Master" ] | |
pull_request: | |
branches: [ "Master" ] | |
env: | |
BUILD_TYPE: Release | |
VCPKG_DIR: D:\a\WebShare-Connect\WebShare-Connect\vcpkg | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install vcpkg | |
shell: cmd | |
run: | | |
git clone https://github.com/microsoft/vcpkg.git ${{ env.VCPKG_DIR }} | |
${{ env.VCPKG_DIR }}\bootstrap-vcpkg.bat | |
- name: Install czmq | |
shell: cmd | |
run: | | |
${{ env.VCPKG_DIR }}\vcpkg install czmq | |
- name: List installed packages | |
shell: cmd | |
run: | | |
${{ env.VCPKG_DIR }}\vcpkg list | |
- name: Configure CMake | |
run: | | |
cmake -B ${{github.workspace}}\build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_DIR }}\scripts\buildsystems\vcpkg.cmake | |
- name: Build | |
run: | | |
cmake --build ${{github.workspace}}\build --config ${{env.BUILD_TYPE}} | |
- name: Test | |
working-directory: ${{github.workspace}}\build | |
run: | | |
ctest -C ${{env.BUILD_TYPE}} |