Skip to content

Commit

Permalink
upgrade runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
jleni committed May 23, 2021
1 parent 58c2fe7 commit f4c20b5
Show file tree
Hide file tree
Showing 46 changed files with 12,402 additions and 11,864 deletions.
22 changes: 15 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ jobs:
name: Build Standard light parser app
command: |
source /home/zondax/.cargo/env
make
make SUBSTRATE_PARSER_FULL=0
- run:
name: Build Standard full parser app
command: |
source /home/zondax/.cargo/env
SUBSTRATE_PARSER_FULL=1 make
make SUBSTRATE_PARSER_FULL=1
- run:
name: Build SR25519 app
command: |
source /home/zondax/.cargo/env
SUPPORT_SR25519=1 make
make SUPPORT_SR25519=1
test_zemu:
machine:
Expand Down Expand Up @@ -94,8 +94,8 @@ jobs:
- run:
name: Build Ledger app
command: |
make clean && SUBSTRATE_PARSER_FULL=1 make buildS
make clean && SUBSTRATE_PARSER_FULL=1 make buildX
make clean_build && SUBSTRATE_PARSER_FULL=1 make buildS
make clean_build && SUBSTRATE_PARSER_FULL=1 make buildX
- run:
name: Build/Install build js deps
command: |
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- run:
name: Build Ledger app
command: |
make SUBSTRATE_PARSER_FULL=1 build_sr25519
make clean_build && SUBSTRATE_PARSER_FULL=1 SUPPORT_SR25519=1 make buildS
- run:
name: Build/Install build js deps
command: |
Expand Down Expand Up @@ -164,8 +164,16 @@ jobs:
command: |
source /home/zondax/.cargo/env
cd /home/zondax/project
make
make SUBSTRATE_PARSER_FULL=0
- run: /home/zondax/go/bin/ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete $(/home/zondax/project/app/pkg/installer_s.sh version) /home/zondax/project/app/pkg/installer_s.sh
- run:
name: Clear and rebuild XL version
command: |
source /home/zondax/.cargo/env
cd /home/zondax/project
make SUBSTRATE_PARSER_FULL=1
cp /home/zondax/project/app/pkg/installer_s.sh /home/zondax/project/app/pkg/installer_XL_s.sh
- run: /home/zondax/go/bin/ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete $(/home/zondax/project/app/pkg/installer_XL_s.sh version) /home/zondax/project/app/pkg/installer_XL_s.sh

workflows:
version: 2
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
image: zondax/builder-bolos:latest
options: --user ${{ needs.configure.outputs.uid_gid }}
env:
BOLOS_SDK: /__w/ledger-edgeware/ledger-edgeware/deps/nanos-secure-sdk
BOLOS_SDK: ${{ github.workspace }}/deps/nanos-secure-sdk
BOLOS_ENV: /opt/bolos
HOME: /home/zondax_circle
steps:
Expand Down Expand Up @@ -108,9 +108,7 @@ jobs:
npm install -g yarn
- name: Build Ledger app
run: |
make build_full_parser_s
make clean
make build_full_parser_x
make SUBSTRATE_PARSER_FULL=1
- name: Build/Install build js deps
run: |
export PATH=~/.cargo/bin:$PATH
Expand Down Expand Up @@ -142,7 +140,7 @@ jobs:
npm install -g yarn
- name: Build Ledger app
run: |
make build_sr25519
make clean_build && SUBSTRATE_PARSER_FULL=1 SUPPORT_SR25519=1 make buildS
- name: Build/Install build js deps
run: |
export PATH=~/.cargo/bin:$PATH
Expand Down
Loading

0 comments on commit f4c20b5

Please sign in to comment.