diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-09-01 05:48:06 +0000 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-09-01 05:48:06 +0000 |
| commit | 10097e446745e8d443fc28323b7e58ae3e8167cf (patch) | |
| tree | 70410e74dc49f9f1d47fcc5700ef81bc95b34875 /.github/workflows | |
| parent | a56b1be2ec363ef4438e3692b4b120b8b1d2e86d (diff) | |
Refactor test code and CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/rust.yml | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4aac6a1..b92c77a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,9 +7,7 @@ on: jobs: build: - - runs-on: ubuntu-20.04 - + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 14e9c92..67bb073 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,6 @@ env: jobs: check: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Lint @@ -22,3 +21,14 @@ jobs: - name: Test run: | cargo test + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build + run: | + curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-12/wasi-sdk_12.0_amd64.deb -o /tmp/wasi-sdk.deb + sudo dpkg -i /tmp/wasi-sdk.deb + rustup target add wasm32-wasi + CC=/opt/wasi-sdk/bin/clang cargo build --target wasm32-wasi |
