Skip to content

Commit

Permalink
Add GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha committed Jun 29, 2023
1 parent 424b2ea commit 34ef65c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CMake Build
on:
push:
branches: ["main"]
jobs:
build:
name: Visual Studio 2022
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86
toolset: 17.0
vsversion: 2022
- name: CMake Setup
uses: lukka/get-cmake@latest
- name: Debug
run: ls ${{ github.workspace }}; echo $ENV:GITHUB_WORKSPACE
- name: CMake Build
uses: lukka/run-cmake@v10
with:
cmakeListsTxtPath: "${{ github.workspace }}\\CMakeLists.txt"
configurePreset: "x86-release"
- name: CMake Install
run: cmake --install
- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: dist-without-markdown
path: |
out/install/x86-release/bin/*.dll
out/install/x86-release/zBassMusic.vdf

0 comments on commit 34ef65c

Please sign in to comment.