-
Notifications
You must be signed in to change notification settings - Fork 82
42 lines (36 loc) · 1.11 KB
/
smoke-test.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
39
40
41
42
name: Smoke Test
on:
pull_request:
workflow_dispatch:
push:
branches:
- stylus
- ci-testing
jobs:
smoke-test:
runs-on: ubuntu-latest
name: 'Test (Smoke)(${{ matrix.cfg_release_channel }})'
env:
CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }}
PRIV_KEY: ${{ secrets.SEPOLIA_PRIVATE_KEY }}
strategy:
matrix:
target: [wasm32-unknown-unknown]
cfg_release_channel: [nightly, stable]
steps:
- name: checkout
uses: actions/checkout@v3
- name: install rustup
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
sh rustup-init.sh -y --default-toolchain none
rustup target add ${{ matrix.target }}
- name: Cargo stylus
run: |
RUSTFLAGS="-C link-args=-rdynamic" cargo install --force cargo-stylus
- uses: OffchainLabs/actions/run-nitro-test-node@main
with:
nitro-testnode-ref: stylus
no-token-bridge: true
- name: Smoke Test Deployment
run: ./ci/smoke_test.sh