aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 845df004bf9a6e0742d91562e28f0b9a85bd40de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
stages:
  - build

rust-latest:
  stage: build
  image: rust:latest
  script:
    - apt-get update
    - apt-get -yq --no-install-recommends install cmake make gfortran
    - cargo build --verbose
    - cargo test --verbose
    - cargo run -- --help
    - ./run_tests.sh

rust-nightly:
  stage: build
  image: rustlang/rust:nightly
  script:
    - cargo build --verbose
    - cargo test --verbose
  allow_failure: true