Skip to content

Add GitHub actions

Add GitHub actions #12

Workflow file for this run

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.00=
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