Skip to content

Build & Release

Build & Release #27

Workflow file for this run

name: Build & Release
# on:
# push:
# branches:
# - main
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
jobs:
build-mingw:
name: Build Project
runs-on: windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Use CMake Action
uses: threeal/[email protected]
with:
generator: MinGW Makefiles
run-build: true
- name: Zip Binaries
uses: vimtor/[email protected]
with:
files: bin
dest: executable-MinGW.zip
- name: Check Artifact
uses: actions/[email protected]
with:
path: ${{ github.workspace }}/executable-MinGW.zip
- name: Release
uses: softprops/[email protected]
with:
files: "executable-MinGW.zip"
build-msvc:
name: Build Project
runs-on: windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Use CMake Action
uses: threeal/[email protected]
with:
generator: Visual Studio 17 2022
run-build: true
- name: Zip Binaries
uses: vimtor/[email protected]
with:
files: bin
dest: executable-MSVC.zip
- name: Check Artifact
uses: actions/[email protected]
with:
path: ${{ github.workspace }}/executable-MSVC.zip
- name: Release
uses: softprops/[email protected]
with:
files: "executable-MSVC.zip"