mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-19 13:25:31 +08:00
parallel stuff
This commit is contained in:
parent
5e8b1045d9
commit
0d48b2942c
46
.woodpecker/ci.yaml
Normal file
46
.woodpecker/ci.yaml
Normal file
@ -0,0 +1,46 @@
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
- event: cron
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: parallel-prepare
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
- make env
|
||||
- cd ..
|
||||
- cp -r -v $CI_REPO_NAME check_linux
|
||||
- cp -r -v $CI_REPO_NAME build_and_test_linux
|
||||
- cp -r -v $CI_REPO_NAME spinoff_test_linux
|
||||
- cp -r -v $CI_REPO_NAME feature_set_copy_test_linux
|
||||
- name: check-linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
commands:
|
||||
- cd check_linux
|
||||
- BA_PCOMMANDBATCH_BUILD_REQUIRE=1 make check
|
||||
depends_on: [parallel-prepare]
|
||||
- name: build-and-test-linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
commands:
|
||||
- cd build_and_test_linux
|
||||
- make cmake-server-build
|
||||
- BA_PCOMMANDBATCH_BUILD_REQUIRE=1 BA_APP_RUN_ENABLE_BUILDS=1 BA_APP_RUN_BUILD_HEADLESS=1 make test
|
||||
depends_on: [parallel-prepare]
|
||||
- name: spinoff-test-linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
commands:
|
||||
- cd spinoff_test_linux
|
||||
- make spinoff-test-core
|
||||
- make spinoff-test-base
|
||||
depends_on: [parallel-prepare]
|
||||
- name: feature-set-copy-test-linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
commands:
|
||||
- cd feature_set_copy_test_linux
|
||||
- tools/spinoff fset-copy template_fs poo
|
||||
- make update
|
||||
- make cmake-modular-server-build
|
||||
- cd build/cmake/modular-server-debug/staged/dist && PYTHONPATH=ba_data/python ./ballisticakit_headless -c "import baenv; baenv.configure(); import bapoo; print(bapoo)"
|
||||
depends_on: [parallel-prepare]
|
||||
@ -36,8 +36,8 @@ steps:
|
||||
- cd build/prefab/full/windows_x86_server
|
||||
- zip -rv ../../../../ballisticakit_windows_server.zip ballisticakit_windows_server
|
||||
- cd ../../../..
|
||||
- mv -v build/sphinx build/ballisticakit_sphinx
|
||||
- tar -cvfC ballisticakit_sphinx_docs.tar build ballisticakit_sphinx
|
||||
- mv -v build/sphinx build/ballisticakit_sphinx_docs
|
||||
- tar -cvfC ballisticakit_sphinx_docs.tar build/ ballisticakit_sphinx_docs
|
||||
- name: build-gui-docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
|
||||
@ -200,6 +200,7 @@ ctx.filter_file_names = {
|
||||
'release.yml',
|
||||
'ballistica_dev_dockerfile',
|
||||
'ballistica_dev_image.yaml',
|
||||
'ci.yaml',
|
||||
'ci_check_linux.yaml',
|
||||
'ci_build_and_test_linux.yaml',
|
||||
'ci_spinoff_test_linux.yaml',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user