SKA-846: SKA QEMU: Ubuntu 20.04 runner for release action is outdated… #20
Workflow file for this run
This file contains hidden or 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 Adapter QEMU for Linux Release configuration | |
| environment: public-github-runners | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - name: Build | |
| uses: ./.github/actions/build-cmake-preset | |
| with: | |
| preset-name: linux-release | |
| cmake-args: "-D PACKAGE_FILENAME_SUFFIX=-${{ github.ref_name }}-ubuntu-22.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 Adapter QEMU for Windows Release configuration | |
| runs-on: windows-latest | |
| environment: public-github-runners | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - 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-VS2019 -D SILKIT_FLAVOR=Win-x86_64-VS2019" | |
| - name: Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| prerelease: true | |
| draft: true | |
| files: | | |
| build/windows-release/SilKit-Adapter*.zip |