Compare commits

3 Commits

Author SHA1 Message Date
4bbcde461d add import-asset rule
All checks were successful
Linux arm64 / Build (push) Successful in 38s
2024-08-13 19:57:27 +02:00
cba15111e7 add debug flags 2024-08-13 19:57:08 +02:00
3bc95acf7b Update .gitea/workflows/linux.yml
All checks were successful
Linux arm64 / Build (push) Successful in 47s
2024-08-11 18:54:25 +02:00
3 changed files with 16 additions and 44 deletions

View File

@@ -1,60 +1,32 @@
name: Linux arm64 name: Linux arm64
run-name: Build And Test run-name: Build And Test
on: [push] on:
push:
env: branches:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 60 - main
XMAKE_ROOT: "y" pull_request:
branches:
- main
jobs: jobs:
Build: Build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🧾 Check out - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 📦 Packages cache - name: Packages cache
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/build/.packages path: ${{ github.workspace }}/build/.packages
key: ${{ runner.os }}-xmake_cache key: ${{ runner.os }}-xmake_cache
- name: 🤖 Setup Godot - name: XMake config
uses: chickensoft-games/setup-godot@v2 run: xmake f -p linux -y
with:
version: 4.2.2
use-dotnet: false
include-templates: true
- name: 🍗 Setup XMake - name: Build
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
# TODO: change that to release
run: xmake f -m debug -p linux -y -v
- name: 🏗️ Build
run: xmake run: xmake
- name: 🧐 Test - name: Test
run: xmake test run: xmake test
- name: 🚀 Publish
# 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

View File

@@ -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=true binary_format/embed_pck=false
texture_format/bptc=true texture_format/bptc=true
texture_format/s3tc=true texture_format/s3tc=true
texture_format/etc=false texture_format/etc=false

View File

@@ -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 4.2") add_requires("godotcpp4")
includes("tasks.lua") includes("tasks.lua")