Files
Godot-Xmake/.gitea/workflows/linux.yml
Simon Pribylski bb6174d417
Some checks failed
Linux arm64 / Build (push) Failing after 2m13s
install python
2024-09-28 11:15:21 +00:00

61 lines
1.4 KiB
YAML

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