SKA-608: fix pre-built windows package (#94) #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Linux and Windows Release Build' | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
linux-release: | |
name: Build SIL Kit TAP for Linux Release configuration | |
environment: public-github-runners | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Build | |
uses: ./.github/actions/build-cmake-preset | |
with: | |
preset-name: linux-release | |
cmake-args: "-D PACKAGE_FILENAME_SUFFIX=-${{ github.ref_name }}-ubuntu-20.04-x86_64-gcc" | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
prerelease: true | |
draft: true | |
files: | | |
_build/linux-release/SilKit-Adapter*.zip | |
windows-release: | |
name: Build SIL Kit TAP for Windows Release configuration | |
runs-on: windows-latest | |
environment: public-github-runners | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Build | |
uses: ./.github/actions/build-cmake-preset | |
with: | |
preset-name: windows-release | |
cmake-args: "-D PACKAGE_FILENAME_SUFFIX=-${{ github.ref_name }}-Win-x86_64-VS -D SILKIT_FLAVOR=Win-x86_64-VS2017" | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
prerelease: true | |
draft: true | |
files: | | |
_build/windows-release/SilKit-Adapter*.zip |