Skip to content

show template arguments from source for classes #12

show template arguments from source for classes

show template arguments from source for classes #12

Workflow file for this run

name: Build Binaries
on:
push:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- name: "Windows"
os: windows-latest
out_paths: './target/release/flash.exe'
static: ''
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: Swatinem/rust-cache@v1
with:
key: ${{ matrix.config.name }}
target-dir: ./target
- name: Build
run: |
${{ matrix.config.static }}
cargo +nightly build --release
- name: Move to output folder
shell: bash
working-directory: ${{ github.workspace }}
run: |
mkdir ./out
mv ${{ matrix.config.out_paths }} ./out
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.config.name }} Flash Binary
path: ./out/