Skip to content

chore(EN-1142): Move remaining workflows to the new infra #42

chore(EN-1142): Move remaining workflows to the new infra

chore(EN-1142): Move remaining workflows to the new infra #42

Workflow file for this run

name: Rust
on:
push:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
env:
CARGO_TERM_COLOR: always
LIBCLANG_PATH: /usr/lib/llvm-14/lib/
jobs:
build:
runs-on: prod-linux-s
steps:
- name: Install apt-get
run: sudo apt-get install -y clang llvm
- name: List libs
run: ls -l /usr/lib
- name: Install latest nightly
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
components: rustfmt, clippy
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run tests (with address sanitizer)
run: LSAN_OPTIONS=suppressions=san.supp RUSTFLAGS="-Zsanitizer=address" cargo +nightly test --verbose