mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-02 21:45:49 +08:00
added docker images and sphinx docs to build nightly
This commit is contained in:
parent
86748c5c07
commit
2e2a1ef018
36
.github/workflows/cd.yml
vendored
36
.github/workflows/cd.yml
vendored
@ -185,39 +185,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: windows_x86_server_(debug)
|
name: windows_x86_server_(debug)
|
||||||
path: build/prefab/full/windows_x86_server
|
path: build/prefab/full/windows_x86_server
|
||||||
|
|
||||||
make_sphinx_docs:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.12'
|
|
||||||
- name: Setup project environment
|
|
||||||
run: make env
|
|
||||||
- name: Make the build
|
|
||||||
run: make docs-sphinx
|
|
||||||
- name: Upload the build
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: sphinx_html_docs
|
|
||||||
path: build/sphinx
|
|
||||||
|
|
||||||
make_docker_image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.12'
|
|
||||||
- name: Setup project environment
|
|
||||||
run: make env
|
|
||||||
- name: Make the build
|
|
||||||
run: make docker-save
|
|
||||||
- name: Upload the build
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: docker_server(release)
|
|
||||||
path: build/docker/bombsquad_server_docker.tar
|
|
||||||
41
.github/workflows/nightly.yml
vendored
Normal file
41
.github/workflows/nightly.yml
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
on:
|
||||||
|
# Run everyday at 5:30 UTC
|
||||||
|
schedule:
|
||||||
|
- cron: '30 5 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
make_docker_image:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
- name: Setup project environment
|
||||||
|
run: make env
|
||||||
|
- name: Make the build
|
||||||
|
run: make docker-save
|
||||||
|
- name: Upload the build
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: docker_server(release)
|
||||||
|
path: build/docker/bombsquad_server_docker.tar
|
||||||
|
|
||||||
|
make_sphinx_docs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
- name: Setup project environment
|
||||||
|
run: make env
|
||||||
|
- name: Make the build
|
||||||
|
run: make docs-sphinx
|
||||||
|
- name: Upload the build
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: sphinx_html_docs
|
||||||
|
path: build/sphinx
|
||||||
Loading…
x
Reference in New Issue
Block a user