Skip to content

Commit

Permalink
add github CI based windows build
Browse files Browse the repository at this point in the history
Signed-off-by: akarin <[email protected]>
  • Loading branch information
AkarinVS committed Oct 30, 2021
1 parent f453051 commit 6613c47
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build (Windows)

on: [push, workflow_dispatch]

jobs:
build-windows:
runs-on: windows-2019

defaults:
run:
shell: cmd

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0

- name: Configure
run: cmake -S . -B build -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release .

- name: Build
run: |
cmake --build build --config Release --parallel %NUMBER_OF_PROCESSORS% --verbose
tree
- name: Upload
uses: actions/upload-artifact@v2
with:
name: artifact
path: build

0 comments on commit 6613c47

Please sign in to comment.