mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
35 lines
703 B
YAML
35 lines
703 B
YAML
stages:
|
|
- format
|
|
- build
|
|
|
|
clang-format:
|
|
stage: format
|
|
image: suyuemu/cibuild:linux-x64
|
|
variables:
|
|
RELEASE_NAME: mainline
|
|
script:
|
|
- git submodule update --init --depth 1 --recursive
|
|
- bash .ci/scripts/format/script.sh
|
|
|
|
cache:
|
|
paths:
|
|
- ccache/
|
|
|
|
build-linux:
|
|
stage: build
|
|
image: suyuemu/cibuild:linux-x64
|
|
resource_group: linux-ci
|
|
variables:
|
|
RELEASE_NAME: mainline
|
|
before_script:
|
|
- mkdir -p ccache
|
|
- export CCACHE_BASEDIR=${PWD}
|
|
- export CCACHE_DIR=${PWD}/ccache
|
|
script:
|
|
- git submodule update --init --depth 1 --recursive
|
|
- bash .ci/scripts/linux/docker.sh
|
|
- bash .ci/scripts/linux/upload.sh
|
|
artifacts:
|
|
paths:
|
|
- artifacts/*
|