-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 913 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Windows
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Unzip ASSIMP
shell: bash
run: unzip dependencies/win_amd64_static/assimp-vc142-mt.zip -d dependencies/win_amd64_static/
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
# - name: Create out
# shell: bash
# run: |
# mkdir out
# cp build/Debug/GrafikaKomputerowa.exe out/
# cp -R assets out/
# - uses: actions/upload-artifact@v2
# with:
# name: GrafikaKomputerowa
# path: out/