Bump version to v0.1.27, runtimes version 1270 #926
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
name: Build and Test | |
on: | |
push: | |
branches: [ main, "maintenance/**" ] | |
pull_request: | |
branches: [ "**" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Cargo test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Maximize build space | |
uses: easimon/maximize-build-space@master # https://github.com/easimon/maximize-build-space | |
with: | |
root-reserve-mb: 4096 | |
temp-reserve-mb: 1024 | |
swap-size-mb: 8192 | |
remove-dotnet: "true" | |
remove-android: "true" | |
remove-haskell: "true" | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
- name: Install build dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install llvm clang protobuf-compiler | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
default: true | |
toolchain: 1.73.0 | |
target: wasm32-unknown-unknown | |
- name: Cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --workspace | |
- name: Show disk usage | |
if: always() | |
run: df -h |