-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get cargo-binutils as a binary package.
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 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 |
---|---|---|
|
@@ -11,22 +11,40 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Check Syntax | ||
run: | | ||
cargo check | ||
- name: Test | ||
run: | | ||
cargo test --lib | ||
- name: Install Targets and Tools | ||
run: | | ||
rustup target add thumbv7em-none-eabi | ||
rustup target add thumbv7m-none-eabi | ||
rustup target add thumbv6m-none-eabi | ||
rustup component add llvm-tools-preview | ||
cargo install cargo-binutils | ||
- name: Install tools | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
|
||
- name: Build | ||
run: | | ||
./build.sh --verbose | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
if: ${{success()}} | ||
with: | ||
name: Artifacts | ||
if-no-files-found: error | ||
path: | | ||
./release/ | ||
- name: Upload files to Release | ||
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/') | ||
uses: softprops/action-gh-release@v1 | ||
|
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