Skip to content

Starting progress on llvm compiler v2 #489

Starting progress on llvm compiler v2

Starting progress on llvm compiler v2 #489

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: jetli/wasm-pack-action@v0.3.0
with:
version: 'v0.9.0'
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1.8.1
with:
version: "11.0"
- name: libtinfo
run: sudo apt-get update && sudo apt-get -y install libtinfo5
- name: Build rust
run: cargo build
- name: Install ext dependencies (for C compilation)
run: ./configure-libgc.sh
- name: Run rust tests
run: cargo test --verbose
- name: Build rust (release mode)
run: cargo build --release
- name: Run abra tests
run: target/release/abra test ./abra_core/abra_test
- name: Run mal tests
run: |
cd abra_mal
./test.sh
- name: Build & run wasm tests
run: |
cd abra_wasm && WASM_PACK_TARGET=nodejs ./build.sh && cd ..
cd abra_wasm/js-tests
npm install
npm test