suyu/.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
708 B
YAML
Raw Permalink Normal View History

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 17:36:40 +01:00
build-linux:
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
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
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/*