-
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.
Merge pull request #32 from metisvela/feat/add-rust-support
Add Rust support
- Loading branch information
Showing
14 changed files
with
325 additions
and
184 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
name: Make | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [opened, reopened] | ||
|
||
env: | ||
CLICOLOR_FORCE: 1 | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
make: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: cargo install cross --git https://github.com/cross-rs/cross | ||
- run: cargo install cargo-make | ||
- run: cargo make |
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,22 @@ | ||
name: Package | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
CLICOLOR_FORCE: 1 | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: cargo install cross --git https://github.com/cross-rs/cross | ||
- run: cargo install cargo-make | ||
- run: sudo cargo make package | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: SailTrack-Core_RPi-ARMv8-Bookworm.7z | ||
path: SailTrack-Core_RPi-ARMv8-Bookworm.7z | ||
compression-level: 0 |
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
|
||
env: | ||
CLICOLOR_FORCE: 1 | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: cargo install cross --git https://github.com/cross-rs/cross | ||
- run: cargo install cargo-make | ||
- run: sudo cargo make package | ||
- uses: softprops/action-gh-release@v2 | ||
with: | ||
files: SailTrack-Core_RPi-ARMv8-Bookworm.7z | ||
generate_release_notes: true |
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
Oops, something went wrong.