Files
Tower-Defense/.gitea/workflows/linux.yaml
Persson-dev 5a1f71e5c0
Some checks failed
Linux arm64 / Build (push) Has been cancelled
action: gl
2024-02-24 16:19:38 +01:00

42 lines
870 B
YAML

name: Linux arm64
run-name: Build And Test
on: [push]
jobs:
Build:
runs-on: ubuntu-test
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: APT
run: |
apt update
apt install libopengl-dev
- uses: actions/cache/restore@v4
with:
path: ~/.xmake/packages
key: 'ubuntu'
- name: Prepare Xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu'
- name: XMake config
run: xmake f -p linux -y --root
- uses: actions/cache/save@v4
with:
path: ~/.xmake/packages
key: 'ubuntu'
- name: Build
run: xmake --root
- name: Test
run: xmake test --root