-
Notifications
You must be signed in to change notification settings - Fork 12
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 #43 from Zondax/support_nanos2
Support nanos plus device
- Loading branch information
Showing
244 changed files
with
385 additions
and
52 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,59 @@ | ||
name: "Verify PRs to main" | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
configure: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
uid_gid: ${{ steps.get-user.outputs.uid_gid }} | ||
steps: | ||
- id: get-user | ||
run: echo "::set-output name=uid_gid::$(id -u):$(id -g)" | ||
|
||
get_version: | ||
needs: configure | ||
runs-on: ubuntu-latest | ||
container: | ||
image: zondax/builder-bolos:latest | ||
options: --user ${{ needs.configure.outputs.uid_gid }} | ||
env: | ||
BOLOS_ENV: /opt/bolos | ||
HOME: /home/zondax_circle | ||
outputs: | ||
version: ${{ steps.store-version.outputs.version }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Invoke `version` | ||
shell: bash -l {0} | ||
env: | ||
BOLOS_SDK: ${{ github.workspace }}/deps/nanos-secure-sdk | ||
run: make version | ||
|
||
- id: store-version | ||
run: echo ::set-output name=version::$(cat ./app/app.version) | ||
|
||
check_app_version: | ||
needs: get_version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: checkTag | ||
uses: mukunku/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag: ${{ needs.get_version.outputs.version }} | ||
|
||
- run: echo ${{ steps.checkTag.outputs.exists }} | ||
|
||
- name: Tag exists | ||
if: ${{ steps.checkTag.outputs.exists == 'true' }} | ||
run: exit 1 |
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
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
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 |
---|---|---|
|
@@ -48,4 +48,4 @@ bin/app.sha256 | |
bin/app.apdu | ||
|
||
\output/app.* | ||
pkg/installer_?.sh | ||
pkg/installer_*.sh |
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
APPVERSION_M=3 | ||
APPVERSION_N=0 | ||
APPVERSION_P=0 | ||
APPVERSION_P=1 |
Oops, something went wrong.