forked from wormhole-foundation/example-swap-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 991 Bytes
/
e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: e2e
on:
push:
branches:
- main
pull_request:
env:
RUSTC_VERSION: 1.75.0
jobs:
test:
name: bash sh/run_test.sh
runs-on: ubuntu-latest
# Anchor Docker image: https://www.anchor-lang.com/docs/verifiable-builds#images
# container: backpackapp/build:v0.30.1
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- uses: metadaoproject/setup-anchor@v2
with:
node-version: "20.11.0"
solana-cli-version: "1.18.15"
anchor-version: "0.30.1"
- name: Set default Rust toolchain
run: rustup default stable
- name: make node_modules
run: make node_modules
- name: make build
run: make build
working-directory: ./evm
- name: bash sh/run_test.sh
run: bash sh/run_test.sh
working-directory: ./e2e