linker #59
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: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/build-windows.yml' | |
- 'src/**' | |
- 'include/**' | |
- 'example/**' | |
- 'CMakeLists.txt' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install CMake | |
run: choco install -y cmake | |
- name: Configure CMake | |
run: cmake -B build -DCMAKE_BUILD_TYPE=Release | |
- name: Build | |
run: cmake --build build --config Release -- /m:4 | |
- name: Copy Everything from \build\Release\ to \lib | |
run: xcopy /E /Y build\Release\ lib\ | |
- name: Upload Build Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: windows-x86_64 | |
path: | | |
lib/ | |
include/ |