Skip to content

Commit

Permalink
Add build workflow (Kampfkarren#28)
Browse files Browse the repository at this point in the history
* Add build workflow

* Use --locked

* Unignore Cargo.lock
  • Loading branch information
Kampfkarren authored Nov 6, 2019
1 parent e69b35e commit 829b813
Show file tree
Hide file tree
Showing 3 changed files with 1,856 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build selene
on: [push]
jobs:
generate:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build (Lightweight)
run: |
cargo build --locked --release --verbose --bin selene
New-Item release -ItemType "directory"
Move-Item .\target\release\selene.exe .\release\selene-light.exe
- name: Build (All features)
run: |
cargo build --locked --release --bin selene --all-features
Move-Item .\target\release\selene.exe .\release\selene.exe
- name: Upload
uses: actions/upload-artifact@v1
with:
name: selene
path: release
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
**/target
**/*.rs.bk
Cargo.lock
Loading

0 comments on commit 829b813

Please sign in to comment.