Skip to content

Add Basic CI (Build) for Stylus Hello World #2

Add Basic CI (Build) for Stylus Hello World

Add Basic CI (Build) for Stylus Hello World #2

Workflow file for this run

name: linux
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }})
env:
CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }}
strategy:
matrix:
target: [
wasm32-unknown-unknown
]
cfg_release_channel: [nightly, stable]
steps:
- name: checkout
uses: actions/checkout@v3
# Run build
- 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: Build and Test
run: ./ci/build_and_test.sh