aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 9423e022a69b6807e96a754cfd23b4992b92bdfe (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
36
37
38
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
    - apt update && apt install -y python3-sphinx
    - makers build
    - makers test || echo "test failed but that's not the point"
    - makers busytest || echo "busytest failed but that's not the point"