suyu-mirror/.gitlab-ci.yml

27 lines
554 B
YAML

2024-03-07 10:36:40 +07:00
stages:
2024-03-08 13:19:32 +07:00
- format
2024-03-08 13:26:40 +07:00
- build
clang-format:
stage: format
image: suyuemu/cibuild:latest
variables:
RELEASE_NAME: mainline
script:
2024-03-08 16:44:03 +07:00
- git submodule update --init --depth 1 --recursive
2024-03-08 13:26:40 +07:00
- bash .ci/scripts/format/script.sh
2024-03-07 10:36:40 +07:00
build-linux:
stage: build
2024-03-08 03:33:17 +07:00
image: suyuemu/cibuild:latest
2024-03-07 10:36:40 +07:00
resource_group: linux-ci
variables:
RELEASE_NAME: mainline
script:
2024-03-07 10:36:40 +07:00
- git submodule update --init --depth 1 --recursive
- bash .ci/scripts/linux/docker.sh
- bash .ci/scripts/linux/upload.sh
artifacts:
paths:
- artifacts/*