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 full-test-spdx: stage: full-test script: - cargo install --path . - git clone https://github.com/spdx/license-list-XML.git ~/spdx-license-list - cd ~/spdx-license-list - apt update && apt install -y default-jre-headless - makers full-test-libarchive: stage: full-test script: - cargo install --path . - cd - wget https://www.libarchive.org/downloads/libarchive-3.5.1.tar.xz - tar xf libarchive-*.tar.xz - cd libarchive-*/ - ./configure - makers - makers check || echo "test failed but that's not the point" full-test-xbps: stage: full-test script: - cargo install --path . - cd - git clone https://github.com/void-linux/xbps.git ~/xbps - cd ~/xbps - apt update && apt install -y libarchive-dev - ./configure - makers full-test-linux: stage: full-test script: - cargo install --path . - mkdir ~/linux - cd ~/linux - wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.11.11.tar.xz - tar xf linux-*.tar.xz - cd linux-*/ - (makers -p 2>&1 || true) | grep 'Configuration file ".config" not found!' - makers help - makers mrproper - apt update && apt install -y flex bison - makers defconfig - makers allow_failure: true