support remote files, limit cram decoding, add modal accuracy #13
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: Publish | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
name: Publish for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
name: [ | |
linux, | |
# windows, | |
macos | |
] | |
include: | |
- name: linux | |
os: ubuntu-latest | |
artifact_name: target/release/cramino | |
asset_name: cramino-linux | |
# - name: windows | |
# os: windows-latest | |
# artifact_name: target/release/<name>.exe | |
# asset_name: <name>-windows | |
- name: macos | |
os: macos-latest | |
artifact_name: target/release/cramino | |
asset_name: cramino-macos | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Build | |
run: cargo build --release --locked | |
- name: Upload binaries to release | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ matrix.asset_name }} | |
path: ${{ matrix.artifact_name }} |