Skip to content

Update compile_commands.json #19

Update compile_commands.json

Update compile_commands.json #19

Workflow file for this run

name: Build
on:
push:
tags:
- 'v*'
jobs:
build-windows:
name: Build windows binary
runs-on: windows-latest
permissions:
contents: write
env:
VCPKG_DEFAULT_TRIPLET: x64-windows-static-md
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.29.x'
- name: setup vcpkg
uses: lukka/run-vcpkg@v11
- name: generate cmake
run: 'cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static-md'
- name: build
run: cmake --build build --config Release
- uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'digilogic_windows_x64_${{ github.ref_name }}.zip'
directory: 'build/Release/'
path: 'digilogic.exe'
- uses: ncipollo/release-action@v1
with:
artifacts: 'build/Release/digilogic_windows_x64_${{ github.ref_name }}.zip'
allowUpdates: true
generateReleaseNotes: true