mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 08:03:30 +08:00
adding feature-set copy ci test
This commit is contained in:
parent
0709e553d7
commit
e6fe16d1a7
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: tools/pcommand install_pip_reqs
|
run: tools/pcommand install_pip_reqs
|
||||||
- name: Compile binary
|
- name: Assemble server build
|
||||||
run: make cmake-server-build
|
run: make cmake-server-build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: BA_PCOMMANDBATCH_BUILD_REQUIRE=1 BA_APP_RUN_ENABLE_BUILDS=1 BA_APP_RUN_BUILD_HEADLESS=1 make test
|
run: BA_PCOMMANDBATCH_BUILD_REQUIRE=1 BA_APP_RUN_ENABLE_BUILDS=1 BA_APP_RUN_BUILD_HEADLESS=1 make test
|
||||||
@ -60,6 +60,25 @@ jobs:
|
|||||||
- name: Build spinoff project with core and base featuresets
|
- name: Build spinoff project with core and base featuresets
|
||||||
run: make spinoff-test-base
|
run: make spinoff-test-base
|
||||||
|
|
||||||
|
# Test spinoff feature-set copy functionality.
|
||||||
|
# Make a copy of the template feature-set and build with it included.
|
||||||
|
feature_set_copy_test_linux:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: tools/pcommand install_pip_reqs
|
||||||
|
- name: Create poo feature-set
|
||||||
|
run: tools/spinoff fset-copy template_fs poo
|
||||||
|
- name: Add new feature-set to project
|
||||||
|
run: make update
|
||||||
|
- name: Assemble server build
|
||||||
|
run: make cmake-server-build
|
||||||
|
|
||||||
# Most of our toolset doesn't work on raw Windows without WSL set up,
|
# Most of our toolset doesn't work on raw Windows without WSL set up,
|
||||||
# but we can bootstrap enough to run a few things manually. It's nice to
|
# but we can bootstrap enough to run a few things manually. It's nice to
|
||||||
# run unit tests there since some behavior (filesystem, etc) can vary
|
# run unit tests there since some behavior (filesystem, etc) can vary
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user