mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-31 19:53:17 +08:00
one more
This commit is contained in:
parent
c24c42d196
commit
af0abb228a
@ -2,10 +2,10 @@ when:
|
||||
- event: manual
|
||||
|
||||
steps:
|
||||
- name: build_and_publish
|
||||
- name: build-and-publish
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
settings:
|
||||
dockerfile: .woodpecker/Dockerfile
|
||||
dockerfile: .woodpecker/ballistica_dev_dockerfile
|
||||
registry: codeberg.org
|
||||
repo: ${CI_REPO}-dev
|
||||
tag: latest
|
||||
|
||||
@ -5,7 +5,7 @@ when:
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
- name: build_and_test
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
17
.woodpecker/ci_build_and_test_windows.yaml
Normal file
17
.woodpecker/ci_build_and_test_windows.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
- event: cron
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: build-and-test
|
||||
image: python:3.12-windowsservercore
|
||||
commands:
|
||||
- $env:PYTHONPATH = "tools"
|
||||
- python -m efrotools.genwrapper pcommand batools.pcommandmain tools/pcommand
|
||||
- python -m pip install --upgrade pip
|
||||
- pip install pytest typing_extensions
|
||||
- python tools/pcommand win_ci_install_prereqs
|
||||
- python tools/pcommand win_ci_binary_build
|
||||
- python tools/pcommand pytest -v tests
|
||||
@ -5,7 +5,7 @@ when:
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
- name: check
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
@ -5,7 +5,7 @@ when:
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
- name: test
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
@ -5,7 +5,7 @@ when:
|
||||
cron: ci
|
||||
|
||||
steps:
|
||||
- name: linux
|
||||
- name: test
|
||||
image: codeberg.org/3ra/ballistica-dev:latest
|
||||
pull: true
|
||||
commands:
|
||||
@ -15,6 +15,11 @@ steps:
|
||||
- make prefab-linux-x86-64-server-debug-build
|
||||
- make prefab-mac-arm64-server-debug-build
|
||||
- make prefab-windows-x86-server-debug-build
|
||||
- make docker-gui-release
|
||||
- make docker-save
|
||||
- make docker-server-release
|
||||
- make docker-save
|
||||
- make docs-sphinx
|
||||
- mv -v build/prefab/full/linux_arm64_gui/debug build/prefab/full/linux_arm64_gui/ballisticakit_linux_arm64
|
||||
- tar cvzfC ballisticakit_linux_arm64.tar.gz build/prefab/full/linux_arm64_gui ballisticakit_linux_arm64
|
||||
- mv -v build/prefab/full/linux_x86_64_gui/debug build/prefab/full/linux_x86_64_gui/ballisticakit_linux_x86_64
|
||||
@ -23,7 +28,7 @@ steps:
|
||||
- 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
|
||||
- cd build/prefab/full/windows_x86_gui
|
||||
- zip -r ../../../../ballisticakit_windows.zip ballisticakit_windows
|
||||
- zip -rv ../../../../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
|
||||
@ -33,8 +38,12 @@ steps:
|
||||
- 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
|
||||
- cd build/prefab/full/windows_x86_server
|
||||
- zip -r ../../../../ballisticakit_windows_server.zip ballisticakit_windows_server
|
||||
- zip -rv ../../../../ballisticakit_windows_server.zip ballisticakit_windows_server
|
||||
- cd ../../../..
|
||||
- mv -v build/docker/bombsquad_gui_release_docker.tar ballisticakit_docker.tar
|
||||
- mv -v build/docker/bombsquad_server_release_docker.tar ballisticakit_server_docker.tar
|
||||
- mv -v build/sphinx build/ballisticakit_sphinx
|
||||
- tar -cvfC ballisticakit_sphinx_docs.tar build ballisticakit_sphinx
|
||||
- name: publish
|
||||
image: woodpeckerci/plugin-release
|
||||
settings:
|
||||
@ -49,5 +58,8 @@ steps:
|
||||
- 'ballisticakit_linux_x86_64_server.tar.gz'
|
||||
- 'ballisticakit_mac_server.tar.gz'
|
||||
- 'ballisticakit_windows_server.zip'
|
||||
- 'ballisticakit_docker.tar'
|
||||
- 'ballisticakit_server_docker.tar'
|
||||
- 'ballisticakit_sphinx_docs.tar'
|
||||
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}
|
||||
|
||||
@ -198,6 +198,15 @@ ctx.filter_file_names = {
|
||||
'deploy_docs.yml',
|
||||
'nightly.yml',
|
||||
'release.yml',
|
||||
'ballistica_dev_dockerfile',
|
||||
'ballistica_dev_image.yaml',
|
||||
'ci_check_linux.yaml',
|
||||
'ci_build_and_test_linux.yaml',
|
||||
'ci_spinoff_test_linux.yaml'
|
||||
'ci_feature_set_copy_test_linux.yaml',
|
||||
'ci_build_and_test_windows.yaml',
|
||||
'deploy_docs.yaml'
|
||||
'release.yaml'
|
||||
'LICENSE',
|
||||
'cloudtool',
|
||||
'bacloud',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user