[CI] Adding workaround for failing Windows build #60
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 Build Boost Fetch | |
on: | |
push: | |
branches: [ master, fix_windows_ci ] | |
paths: | |
- ".github/workflows/windows_build_no_boost.yml" | |
- "include/**" | |
- "src/**" | |
- "tests/**" | |
- "CMakeLists.txt" | |
pull_request: | |
branches: [ master ] | |
paths: | |
- ".github/workflows/windows_build_no_boost.yml" | |
- "include/**" | |
- "src/**" | |
- "tests/**" | |
- "CMakeLists.txt" | |
jobs: | |
build: | |
runs-on: windows-2022 | |
env: | |
CMAKE_PREFIX_PATH: ${{ github.workspace }}\.local | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Remove Strawberry Perl from PATH | |
run: | | |
$env:PATH = $env:PATH -replace "C:\\Strawberry\\c\\bin;", "" | |
"PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Append | |
- name: Configure CMake | |
run: cmake -S . -B build "-DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" -DQUICK_FTXUI_FETCH_BOOST=ON | |
- name: Build | |
run: cmake --build build --config Release --parallel | |
- name: Test | |
run: | | |
cd build | |
ctest -C Release | |
- name: Install | |
run: cmake --install build --config Release --prefix "$env:CMAKE_PREFIX_PATH" |