Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

add error system + fixes #47

add error system + fixes

add error system + fixes #47

Workflow file for this run

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