mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
testing ci
This commit is contained in:
parent
62f1c96f5b
commit
93e76db0eb
1 changed files with 17 additions and 0 deletions
|
@ -1,5 +1,22 @@
|
|||
image: "rust:latest"
|
||||
|
||||
tests-job:
|
||||
stage: test
|
||||
image: rust
|
||||
script:
|
||||
- echo "======== TESTS JOB ========"
|
||||
- cargo test
|
||||
|
||||
prepare-job:
|
||||
stage: prepare
|
||||
image: rust
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never # Do not run this job when a tag is created manually
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
|
||||
script:
|
||||
- echo "======== PREPARE JOB ========"
|
||||
|
||||
build-job:
|
||||
stage: build
|
||||
image: ubuntu:22.04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue