Skip to content

Commit

Permalink
Re-add Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wyozi committed Jun 28, 2020
1 parent 9ee693a commit 0026e81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: release
on: push

name: Build binaries

Expand All @@ -8,24 +8,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- i686-pc-windows-gnu
- i686-unknown-linux-gnu
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- run: |
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install liblzma-dev:i386
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --no-default-features --features "vtf" --target=${{ matrix.target }}
args: --release --no-default-features --features "vtf bsp"
- run: |
ls -R target
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ edition = "2018"

[features]
default = ["workshop", "vtf", "bsp"]

workshop = ["steamworks", "rust-lzma"]

bsp = ["zip"]

[dependencies]
Expand Down

0 comments on commit 0026e81

Please sign in to comment.