2024-03-07 17:36:40 +01:00
|
|
|
stages:
|
2024-03-08 20:19:32 +01:00
|
|
|
- format
|
2024-03-08 20:26:40 +01:00
|
|
|
- build
|
|
|
|
|
|
|
|
clang-format:
|
|
|
|
stage: format
|
2024-03-10 22:20:42 +01:00
|
|
|
image: suyuemu/cibuild:linux-x64
|
2024-03-08 20:26:40 +01:00
|
|
|
variables:
|
|
|
|
RELEASE_NAME: mainline
|
|
|
|
script:
|
2024-03-08 23:44:03 +01:00
|
|
|
- git submodule update --init --depth 1 --recursive
|
2024-03-08 20:26:40 +01:00
|
|
|
- bash .ci/scripts/format/script.sh
|
2024-03-07 01:05:52 +01:00
|
|
|
|
2024-03-07 17:36:40 +01:00
|
|
|
build-linux:
|
2024-03-07 01:05:52 +01:00
|
|
|
stage: build
|
2024-03-10 22:20:42 +01:00
|
|
|
image: suyuemu/cibuild:linux-x64
|
2024-03-07 17:36:40 +01:00
|
|
|
resource_group: linux-ci
|
|
|
|
variables:
|
|
|
|
RELEASE_NAME: mainline
|
2024-03-09 03:41:56 +01:00
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- ccache/
|
2024-03-09 03:38:33 +01:00
|
|
|
before_script:
|
|
|
|
- mkdir -p ccache
|
|
|
|
- export CCACHE_BASEDIR=${PWD}
|
|
|
|
- export CCACHE_DIR=${PWD}/ccache
|
2024-03-07 01:05:52 +01:00
|
|
|
script:
|
2024-03-07 17:36:40 +01:00
|
|
|
- git submodule update --init --depth 1 --recursive
|
|
|
|
- bash .ci/scripts/linux/docker.sh
|
|
|
|
- bash .ci/scripts/linux/upload.sh
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- artifacts/*
|