36 lines
689 B
YAML
36 lines
689 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
win:
|
|
name: "Windows Build"
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build project
|
|
id: build_project
|
|
shell: pwsh
|
|
working-directory: ${{ github.workspace }}
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
cmake --build . --config RelWithDebInfo
|
|
|
|
- name: Collect outputs
|
|
run: |
|
|
mkdir _output
|
|
cp build/bin/* _output
|
|
|
|
- name: Upload
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: output_win
|
|
path: _output
|