Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Vurv78 committed Aug 16, 2021
1 parent 87788c2 commit d26909e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build & Lint

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

# Repurposed from Autorun-rs

jobs:
buildx86_64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --release --verbose

- name: Upload program
uses: actions/upload-artifact@v2
with:
name: Windows 64 Bit
path: target/release/gm_binpkg.exe

- name: Lint
run: cargo clippy

buildx86:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: |
rustup target add i686-pc-windows-msvc
cargo build --release --verbose --target=i686-pc-windows-msvc
- name: Upload program
uses: actions/upload-artifact@v2
with:
name: Windows 32 Bit
path: target/i686-pc-windows-msvc/release/gm_binpkg.exe

0 comments on commit d26909e

Please sign in to comment.