Skip to content

release version 0.7.0 #89

release version 0.7.0

release version 0.7.0 #89

Workflow file for this run

on: [push, pull_request]
name: continuous integration
jobs:
test:
name: test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Install LLVM
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main"
sudo apt-get update
sudo apt-get install --no-install-recommends --yes llvm-13 llvm-13-tools
- name: Install lit
run: pip install lit
- name: Run lit testsuite
run: lit -v --path "$PWD/target/release/:/usr/lib/llvm-13/bin/" ./tests
fmt:
name: rustfmt
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Add rustup component
run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check