flesh/.gitlab-ci.yml
Ava Affine 831026a8d7 add release-ci, artifacts, etc.
Signed-off-by: Ava Affine <ava@sunnypup.io>
2024-02-21 10:22:01 -08:00

51 lines
1 KiB
YAML

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