Use gcc-10 in linux workflow #18
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: release-win64 | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Ninja | |
uses: ashutoshvarma/setup-ninja@master | |
with: | |
# ninja version to download. Default: 1.10.0 | |
version: 1.10.0 | |
- name: configure | |
run: cmake --preset windows-ninja-msvc | |
- name: make | |
id: build | |
run: | | |
echo "build app" | |
cmake --build build/windows-ninja-msvc --config Release | |
$tagName = & git describe --tags | |
$binArchive = "falcor_perf_test-$tagName-win-64.zip" | |
echo "package name=$binArchive" | |
cd build/windows-ninja-msvc | |
7z a "$binArchive" bin/Release/* | |
echo "FALCOR_PERF_TEST_PACKAGE=build/windows-ninja-msvc/$binArchive" >> $env:GITHUB_OUTPUT | |
- name: UploadBinary | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
${{ steps.build.outputs.FALCOR_PERF_TEST_PACKAGE }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |