Files
Tower-Defense/.gitea/workflows/linux.yaml
Simon Pribylski 155c81fa37
All checks were successful
Linux arm64 / Build (push) Successful in 5m27s
cache .xmake too
2024-02-10 19:56:37 +01:00

41 lines
877 B
YAML

name: Linux arm64
run-name: Build And Test
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Install deps
run : |
apt update
apt install -y libsdl2-dev libglew-dev
- name: Check out repository code
uses: actions/checkout@v3
- name: Cache Build
id: cache-build
uses: actions/cache@v4
with:
path: |
'build'
'.xmake'
key: ${{ runner.os }}-td
- name: Prepare Xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu'
- name: XMake config
run: xmake f -p linux -y --root
- name: Build
run: xmake --root
- name: Test
run: xmake test --root