Skip to content

Commit

Permalink
added github build action
Browse files Browse the repository at this point in the history
  • Loading branch information
hakasapl committed Jul 19, 2024
1 parent acbd8c6 commit 880433e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build and Publish Artifacts

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: windows-latest

steps:
- uses: ilammy/msvc-dev-cmd@v1

- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Configure CMake
run: |
cmake --preset x64-release
- name: Build project
run: |
cd build/x64-release
cmake --build --preset x64-release --target install
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: install-artifacts
path: install/x64-release

0 comments on commit 880433e

Please sign in to comment.