-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
16 additions
and
331 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 |
---|---|---|
|
@@ -83,22 +83,17 @@ jobs: | |
test_zemu: | ||
runs-on: ${{ github.repository_owner == 'zondax' && 'zondax-runners' || 'ubuntu-latest' }} | ||
steps: | ||
- name: Test | ||
run: | | ||
id | ||
echo $HOME | ||
echo $DISPLAY | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y curl protobuf-compiler build-essential git wget unzip python3 python3-pip \ | ||
libssl-dev libffi-dev libreadline-dev zlib1g-dev libbz2-dev libsqlite3-dev libncurses5-dev \ | ||
libgdbm-dev libnss3-dev liblzma-dev libxml2-dev libxmlsec1-dev libffi-dev libyaml-dev | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- run: sudo apt-get update -y && sudo apt-get install -y libusb-1.0.0 libudev-dev | ||
libgdbm-dev libnss3-dev liblzma-dev libxml2-dev libxmlsec1-dev libffi-dev libyaml-dev \ | ||
libusb-1.0.0 libudev-dev | ||
- name: Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -109,10 +104,16 @@ jobs: | |
node-version: 18 | ||
- name: Install yarn | ||
run: | | ||
npm install -g yarn | ||
- name: Build and run zemu tests | ||
npm install -g [email protected] | ||
- name: Clear yarn cache | ||
run: yarn cache clean | ||
- name: Install dependencies with yarn | ||
run: | | ||
make test_all | ||
cd tests_zemu | ||
yarn install --network-timeout 300000 --offline || yarn install --network-timeout 300000 | ||
working-directory: ${{ github.workspace }} | ||
- name: Build and run zemu tests | ||
run: make test_all | ||
- name: Upload Snapshots (only failure) | ||
if: ${{ failure() }} | ||
uses: actions/upload-artifact@v3 | ||
|
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 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
This file was deleted.
Oops, something went wrong.