[Cargo.toml] disable debug=true #97
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: Rust | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: centos:7 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust | |
run: | | |
yum install -y gcc g++ which | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y --target x86_64-unknown-linux-musl x86_64-unknown-linux-gnu | |
echo $HOME/.cargo/bin >> $GITHUB_PATH | |
source $HOME/.cargo/env | |
which rustup | |
which cargo | |
- name: Build | |
run: cargo build --verbose --release | |
- name: Run tests | |
run: cargo test --verbose --release | |
- name: Run integrated tests | |
run: for i in tests/OUTCAR_* ; do cargo run --release -- rlx $i; done |