Fix special characters in path #126 #206
Workflow file for this run
This file contains hidden or 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 Validation | |
| on: | |
| pull_request: | |
| branches: [ "*" ] | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup MSVC | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install Python dependencies | |
| run: pip install -r libultraship/requirements.txt | |
| - name: Cache vcpkg | |
| uses: actions/cache@v4 | |
| with: | |
| key: ${{ runner.os }}-vcpkg-x64-static-${{ hashFiles('CMakeLists.txt', 'cmake/automate-vcpkg.cmake') }} | |
| restore-keys: | | |
| ${{ runner.os }}-vcpkg-x64-static- | |
| path: | | |
| build/x64/vcpkg | |
| build/x64/vcpkg_installed | |
| build/x64/vcpkg/downloads | |
| - name: Build | |
| run: | | |
| $env:VCPKG_ROOT="" | |
| cmake -S . -B "build/x64" -G "Visual Studio 17 2022" -T v143 -A x64 -DCMAKE_BUILD_TYPE=Release -DPython3_EXECUTABLE="$(python -c 'import sys; print(sys.executable)')" | |
| cmake --build ./build/x64 --config Release --parallel 10 | |
| - name: Upload build | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ghostship-windows | |
| path: ./build/x64/Debug | |
| retention-days: 1 |