aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: da1eb35eb24f0d1fa288da7d8494314586225b86 (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
39
40
41
42
43
44
45
46
47
48
49
50
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"

full-test-cpython:
  stage: full-test
  script:
    - cargo install --path .
    - mkdir ~/cpython
    - cd ~/cpython
    - wget https://www.python.org/ftp/python/3.9.3/Python-3.9.3.tar.xz
    - tar xf Python-*.tar.xz
    - cd Python-*/
    - ./configure
    - makers