37 lines
757 B
YAML
37 lines
757 B
YAML
name: Linux arm64
|
|
run-name: Build And Test
|
|
|
|
on: [push]
|
|
|
|
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: ⚙️ XMake config
|
|
run: xmake f -m release -p linux -y
|
|
|
|
- name: 🏗️ Build
|
|
run: xmake
|
|
|
|
- name: 🧐 Test
|
|
run: xmake test
|
|
|
|
- name: 🚀 Publish
|
|
run: xmake p
|