default: image: rust:latest compile-with-posix-features: stage: build script: - cargo build compile-without-posix-features: stage: build script: - cargo build --no-default-features compile-implicit-load: stage: build script: - cargo build -F implicit-load compile-release: stage: build script: - cargo build -F implicit-load --release artifacts: paths: - target/release/flesh - Readme.org - Writing.org - Shell.org - snippets/flesh-mode.el - snippets/genbind.f - snippets/interactive-devel.f - snippets/userlib.f - LICENSE.md - snippets/artifacts/default_fleshrc.f - snippets/artifacts/release_contents.txt - snippets/artifacts/install.sh only: variables: - $CI_COMMIT_TAG =~ /^v\d+.\d+.\d+-?.*$/ except: - branches unit-tests: stage: test script: - cargo test userlib-tests: stage: test script: - cargo run --no-default-features snippets/userlib.f snippets/userlib-tests.f