cmnPath: fixed handling of absolute paths on Windows (#102) #71
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 2019 | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master, devel ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
- name: Download cisstNetlib | |
run: | | |
cmake -E make_directory ${{github.workspace}}/cisstNetlib-build | |
git clone https://github.com/jhu-cisst/cisstNetlib ${{github.workspace}}/cisstNetlib-source | |
- name: Build cisstNetlib | |
working-directory: ${{github.workspace}}/cisstNetlib-build | |
run: | | |
cmake ${{github.workspace}}/cisstNetlib-source | |
cmake --build . --config Release | |
cmake --build . --target install | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Configure CMake | |
working-directory: ${{github.workspace}}/build | |
run: cmake ${{github.workspace}} -DCMAKE_BUILD_TYPE=Release -C ${{github.workspace}}/.github/workflows/cmake-windows-cache.cmake | |
- name: Build | |
working-directory: ${{github.workspace}}/build | |
run: | | |
./cisstvars.bat Release | |
cmake --build . --config Release | |
# - name: Test | |
# working-directory: ${{github.workspace}}/build | |
# run: | | |
# dir | |
# ./bin/cisstCommonTests -r | |
# ./bin/cisstVectorTests -r | |
# ./bin/cisstNumericalTests -r | |
# ./bin/cisstOSAbstractionTests -r | |
# ./bin/cisstParameterTypesTests -r |