-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ea73943
Showing
22 changed files
with
2,292 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build Nimbus | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
|
||
- name: Install MinGW-w64 | ||
run: sudo apt-get update && sudo apt-get install -y mingw-w64 | ||
|
||
- name: Add Windows GNU target | ||
run: rustup target add x86_64-pc-windows-gnu | ||
|
||
- name: Build Nimbus | ||
run: | | ||
chmod +x build.sh | ||
./build.sh | ||
- name: Upload Linux build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: nimbus-linux | ||
path: builds/nimbus-linux | ||
|
||
- name: Upload Windows build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: nimbus-windows | ||
path: builds/nimbus-windows.exe |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
Oops, something went wrong.