trying to reactivate tests in continuous-macosCI #652
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: windows-ci | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
Continuous: | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.21.x' | |
- name: Create Build Environment | |
run: | | |
git clone https://github.com/Microsoft/vcpkg.git | |
.\vcpkg\bootstrap-vcpkg.bat -disableMetrics | |
vcpkg install --triplet x64-windows gtest pybind11 eigen3 | |
vcpkg list | |
vcpkg integrate install | |
- name: Configure | |
run: > | |
cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -Ax64 | |
-DVCPKG_TARGET_TRIPLET=x64-windows | |
-DWITH_TEST=ON | |
-DWITH_PYTHON_API=OFF | |
-DENABLE_BLOCKING=OFF | |
-DENABLE_CLAIRE=OFF | |
-DENABLE_ELG3D=OFF | |
-DENABLE_HYBRIDMESHADAPT=OFF | |
-DENABLE_PADDING=OFF | |
-DENABLE_POLYBLOCK=OFF | |
-DBUILD_SHARED_LIBS=ON | |
-DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" | |
- name: Build Environment | |
run: cmake --build ${{github.workspace}}/build --config Release | |
- name: Run tests | |
run: cmake --build build --target RUN_TESTS --config Release | |
- name: Install | |
run: cmake --install build --prefix ${{github.workspace}}/buildinstall --config Release | |