Skip to content

refactor: return to stable rust + adapt tests #12

refactor: return to stable rust + adapt tests

refactor: return to stable rust + adapt tests #12

Workflow file for this run

name: Cargo Build & Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
env:
NIXPKGS_ALLOW_UNFREE: 1 # required to get gurobi
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-shell --run "cargo build --verbose"
# TODO: github runner is missing gurobi license required for tests
# - run: nix-shell --run "cargo test --verbose"