Skip to content

Commit 9691f53

Browse files
committed
ci: add a ci step for testing with software jade
1 parent 5d52259 commit 9691f53

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.gitlab-sw_jade.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
test_sw_jade:
2+
tags:
3+
- ga
4+
stage: format
5+
script:
6+
- . $HOME/esp/esp-idf/export.sh
7+
- cp configs/sdkconfig_jade.defaults sdkconfig.defaults
8+
- idf.py reconfigure
9+
- cd $CI_PROJECT_DIR
10+
- apt install -yqq python3-venv
11+
- virtualenv -p python3 venv
12+
- source venv/bin/activate
13+
- pip install -r requirements.txt
14+
- pip install -r pinserver/requirements.txt
15+
- pip install .
16+
- echo "----------------------- BUILD ---------------------------------"
17+
- python ./components/assets/gen_assets.py ./components/assets/asset_data.json ./build/esp-idf/assets/asset_data.inc
18+
- python ./components/assets/gen_assets.py ./components/assets/asset_data_testnet.json ./build/esp-idf/assets/asset_data_testnet.inc
19+
- CFLAGS="-O2" ./make_libjade.sh
20+
- echo "----------------------- STANDARD TESTS ------------------------"
21+
- rm -f *.pin; LD_LIBRARY_PATH=$PWD python ./test_jade.py --run_sw --swtimeout=0 --log CRITICAL
22+
- echo "----------------------- NON-LEGACY TESTS ----------------------"
23+
- rm -f *.pin; LD_LIBRARY_PATH=$PWD python ./test_jade.py --run_sw --swtimeout=0 --log CRITICAL --nolegacyflow

0 commit comments

Comments
 (0)