aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 8ff93baa2d4e312141bd47acc12dbda1e6e0dc38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
default:
  image: rust:latest

stages:
  - test
  - full-test

test:
  script:
    - cargo test --no-fail-fast
    - cargo test --no-fail-fast --no-default-features
    - rustup component add clippy
    - cargo clippy
    - rustup component add rustfmt
    - cargo fmt -- --check

full-test-tcl:
  stage: full-test
  script:
    - cargo install --path .
    - mkdir ~/tcl
    - cd ~/tcl
    - wget https://prdownloads.sourceforge.net/tcl/tcl8.6.11-src.tar.gz
    - tar xf tcl*.tar.gz
    - cd tcl*/unix/
    - ./configure
    - makers

full-test-uutils:
  stage: full-test
  script:
    - cargo install --path .
    - git clone https://github.com/uutils/coreutils.git ~/uutils-coreutils
    - cd ~/uutils-coreutils
    - makers build test busytest