mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-19 21:37:57 +08:00
more
This commit is contained in:
parent
ae01fd6c1f
commit
65a7294b7e
@ -2,7 +2,7 @@ when:
|
||||
- event: manual
|
||||
|
||||
steps:
|
||||
- name: buildx
|
||||
- name: build_and_publish
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
settings:
|
||||
dockerfile: .woodpecker/Dockerfile
|
||||
|
||||
14
.woodpecker/ci/build_and_test.yaml
Normal file
14
.woodpecker/ci/build_and_test.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
- event: cron
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
- make env
|
||||
- make cmake-server-build
|
||||
- BA_PCOMMANDBATCH_BUILD_REQUIRE=1 BA_APP_RUN_ENABLE_BUILDS=1 BA_APP_RUN_BUILD_HEADLESS=1 make test
|
||||
13
.woodpecker/ci/check.yaml
Normal file
13
.woodpecker/ci/check.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
- event: cron
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
- make env
|
||||
- BA_PCOMMANDBATCH_BUILD_REQUIRE=1 make check
|
||||
16
.woodpecker/ci/feature_set_copy_test.yaml
Normal file
16
.woodpecker/ci/feature_set_copy_test.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
- event: cron
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
- make env
|
||||
- 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)"
|
||||
14
.woodpecker/ci/spinoff_test.yaml
Normal file
14
.woodpecker/ci/spinoff_test.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
- event: cron
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
- make env
|
||||
- make spinoff-test-core
|
||||
- make spinoff-test-base
|
||||
@ -22,7 +22,9 @@ steps:
|
||||
- mv -v build/prefab/full/mac_arm64_gui/debug build/prefab/full/mac_arm64_gui/ballisticakit_mac
|
||||
- tar cvzfC ballisticakit_mac.tar.gz build/prefab/full/mac_arm64_gui ballisticakit_mac
|
||||
- mv -v build/prefab/full/windows_x86_gui/debug build/prefab/full/windows_x86_gui/ballisticakit_windows
|
||||
- zip -jr ballisticakit_windows.zip build/prefab/full/windows_x86_gui
|
||||
- cd build/prefab/full/windows_x86_gui
|
||||
- zip -r ../../../../ballisticakit_windows.zip ballisticakit_windows
|
||||
- cd ../../../..
|
||||
- mv -v build/prefab/full/linux_arm64_server/debug build/prefab/full/linux_arm64_server/ballisticakit_linux_arm64_server
|
||||
- tar cvzfC ballisticakit_linux_arm64_server.tar.gz build/prefab/full/linux_arm64_server ballisticakit_linux_arm64_server
|
||||
- mv -v build/prefab/full/linux_x86_64_server/debug build/prefab/full/linux_x86_64_server/ballisticakit_linux_x86_64_server
|
||||
@ -30,7 +32,9 @@ steps:
|
||||
- mv -v build/prefab/full/mac_arm64_server/debug build/prefab/full/mac_arm64_server/ballisticakit_mac_server
|
||||
- tar cvzfC ballisticakit_mac_server.tar.gz build/prefab/full/mac_arm64_server ballisticakit_mac_server
|
||||
- mv -v build/prefab/full/windows_x86_server/debug build/prefab/full/windows_x86_server/ballisticakit_windows_server
|
||||
- zip -jr ballisticakit_windows_server.zip build/prefab/full/windows_x86_server
|
||||
- cd build/prefab/full/windows_x86_server
|
||||
- zip -r ../../../../ballisticakit_windows_server.zip ballisticakit_windows_server
|
||||
- cd ../../../..
|
||||
- name: publish
|
||||
image: woodpeckerci/plugin-release
|
||||
settings:
|
||||
@ -47,4 +51,3 @@ steps:
|
||||
- 'ballisticakit_windows_server.zip'
|
||||
note: 'These are debug prefab builds; use them for testing purposes only. Check out https://ballistica.net/downloads for official/blessed release builds'
|
||||
title: ${CI_COMMIT_TAG}
|
||||
depends_on: [build]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user