Compare commits
13 Commits
1c855d1b77
...
actions
| Author | SHA1 | Date | |
|---|---|---|---|
| d6bb4b6aea | |||
| bb6174d417 | |||
| 3c939d55aa | |||
| 9966be50c1 | |||
| 81b8ebb820 | |||
| 1a2d7a22af | |||
| 959e38eb78 | |||
| 8e3c7469aa | |||
| 2765228b93 | |||
| 297a5b89ec | |||
| 8faae72ae7 | |||
| 1a789ab5b2 | |||
| d4bf1c3da7 |
@@ -5,10 +5,11 @@ on: [push]
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 60
|
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 60
|
||||||
|
XMAKE_ROOT: "y"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
runs-on: ubuntu-test
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 🧾 Check out
|
- name: 🧾 Check out
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -26,8 +27,19 @@ jobs:
|
|||||||
use-dotnet: false
|
use-dotnet: false
|
||||||
include-templates: true
|
include-templates: true
|
||||||
|
|
||||||
|
- name: 🍗 Setup XMake
|
||||||
|
uses: xmake-io/github-action-setup-xmake@v1
|
||||||
|
with:
|
||||||
|
xmake-version: latest
|
||||||
|
actions-cache-folder: '.xmake-cache'
|
||||||
|
actions-cache-key: 'xmake-ubuntu'
|
||||||
|
|
||||||
|
- name: 🐍 Install Python
|
||||||
|
run: xmake require --extra={system=false} -y python
|
||||||
|
|
||||||
- name: ⚙️ XMake config
|
- name: ⚙️ XMake config
|
||||||
run: xmake f -m release -p linux -y
|
# TODO: change that to release
|
||||||
|
run: xmake f -m debug -p linux -y -v
|
||||||
|
|
||||||
- name: 🏗️ Build
|
- name: 🏗️ Build
|
||||||
run: xmake
|
run: xmake
|
||||||
@@ -36,4 +48,13 @@ jobs:
|
|||||||
run: xmake test
|
run: xmake test
|
||||||
|
|
||||||
- name: 🚀 Publish
|
- name: 🚀 Publish
|
||||||
run: xmake p
|
# the first command is needed only for the template
|
||||||
|
run: |
|
||||||
|
xmake gengdextension
|
||||||
|
xmake import-assets
|
||||||
|
xmake p
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Debug Build
|
||||||
|
path: ${{ github.workspace }}/publish
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ encrypt_directory=false
|
|||||||
custom_template/debug=""
|
custom_template/debug=""
|
||||||
custom_template/release=""
|
custom_template/release=""
|
||||||
debug/export_console_wrapper=1
|
debug/export_console_wrapper=1
|
||||||
binary_format/embed_pck=false
|
binary_format/embed_pck=true
|
||||||
texture_format/bptc=true
|
texture_format/bptc=true
|
||||||
texture_format/s3tc=true
|
texture_format/s3tc=true
|
||||||
texture_format/etc=false
|
texture_format/etc=false
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ add_rules("mode.debug", "mode.release")
|
|||||||
set_languages("c++20")
|
set_languages("c++20")
|
||||||
|
|
||||||
-- use latest 4.x version by default
|
-- use latest 4.x version by default
|
||||||
add_requires("godotcpp4")
|
add_requires("godotcpp4 4.2")
|
||||||
|
|
||||||
|
|
||||||
includes("tasks.lua")
|
includes("tasks.lua")
|
||||||
|
|||||||
Reference in New Issue
Block a user