Files
Tower-Defense/.gitea/workflows/linux.yaml
Persson-dev 01bd4621b3
Some checks failed
Linux arm64 / Build (push) Failing after 34s
action: apt update
2024-02-24 13:22:27 +01:00

35 lines
747 B
YAML

name: Linux arm64
run-name: Build And Test
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- run: apt update
- name: Install deps
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libsdl2-dev libglew-dev
version: 1.0
- name: Check out repository code
uses: actions/checkout@v3
- 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
- name: Build
run: xmake --root
- name: Test
run: xmake test --root