preserve backtraces, print id #22
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: build | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_linux: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build binary | |
run: cargo build --release --package fastgmad-bin --bin fastgmad | |
- name: Build publishing library | |
run: cargo build --release --package fastgmad-publish --features binary | |
- name: Zip | |
run: | | |
7z a -tzip -mx=9 target/release/fastgmad_linux.zip ./target/release/fastgmad ./target/release/libfastgmad_publish.so ./steam_api_sdk/redistributable_bin/linux64/libsteam_api.so | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
target/release/fastgmad_linux.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
build_windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build binary | |
run: cargo build --release --package fastgmad-bin --bin fastgmad | |
- name: Build publishing library | |
run: cargo build --release --package fastgmad-publish --features binary | |
env: | |
RUSTFLAGS: -Ctarget-feature=+crt-static | |
- name: Zip | |
run: | | |
7z a -tzip -mx=9 target/release/fastgmad_windows.zip ./target/release/fastgmad.exe ./target/release/fastgmad_publish.dll ./steam_api_sdk/redistributable_bin/win64/steam_api64.dll | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
target/release/fastgmad_windows.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
build_macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build binary | |
run: cargo build --release --package fastgmad-bin --bin fastgmad | |
- name: Build publishing library | |
run: cargo build --release --package fastgmad-publish --features binary | |
- name: Zip | |
run: | | |
7z a -tzip -mx=9 target/release/fastgmad_macos.zip ./target/release/fastgmad ./target/release/libfastgmad_publish.dylib ./steam_api_sdk/redistributable_bin/osx/libsteam_api.dylib | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
target/release/fastgmad_macos.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |