This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
fix linux runner #42
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: Build Windows | |
on: push | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
BUILD_TYPE: [ Release ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hendrikmuhs/[email protected] | |
- uses: seanmiddleditch/gha-setup-ninja@master | |
- uses: TheMrMilchmann/setup-msvc-dev@v3 | |
with: | |
arch: x64 | |
- name: Update Stuff | |
run: | | |
vcpkg install curl | |
vcpkg install libtorrent | |
- name: Configure CMake | |
shell: cmd | |
run: cmake -B ${{github.workspace}}\Workspace -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} -DGODOT=1 -DGODOT_GDEXTENSION_DIR="gdextension" -DGODOT_CPP_SYSTEM_HEADERS=ON -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -G "Ninja" -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | |
- name: Build | |
run: cmake --build ${{github.workspace}}/Workspace | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: windows | |
path: ${{github.workspace}}/Code/binding/lib | |