Browse Source

Create rust.yml

master
Garrit Franke 4 years ago committed by GitHub
parent
commit
13d03227a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      .github/workflows/rust.yml

27
.github/workflows/rust.yml

@ -0,0 +1,27 @@
name: Rust
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose
- uses: joshuarli/strip-upx-action@master
with:
infile: 'target/release/rustfuck'
strip_args: '-v --strip-all'
upx_args: '-9'
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
with:
# Artifact name
name: rustfuck
# Directory containing files to upload
path: target/release/rustfuck
Loading…
Cancel
Save