Skip to content

feat: split compiler #55

feat: split compiler

feat: split compiler #55

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
paths:
- "**.go"
- "crates/**"
- "!crates/e2e-move-tests/**"
- "precompile/**"
push:
branches:
- main
- "release/*"
paths:
- "**.go"
- "crates/**"
- "!crates/e2e-move-tests/**"
- "precompile/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Rust libmovevm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Make free space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Install latest rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
crates/move-test/build/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Build
run: |
make build-rust
- name: Test
run: |
make test