This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
closing project #22
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: win32 | |
- name: "create build dir" | |
shell: cmd | |
run: mkdir build | |
- name: "configure cmake" | |
shell: cmd | |
run: cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install .. | |
- name: "cmake build" | |
shell: cmd | |
run: cd build && cmake --build . | |
- name: "cmake install" | |
shell: cmd | |
run: cd build && cmake --install . | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ember | |
path: install/ |