All checks were successful
Linux arm64 / Build (push) Successful in 11m13s
38 lines
780 B
YAML
38 lines
780 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: Prepare Xmake
|
|
uses: xmake-io/github-action-setup-xmake@v1
|
|
with:
|
|
xmake-version: latest
|
|
actions-cache-folder: '.xmake-cache'
|
|
actions-cache-key: 'ubuntu-xmake'
|
|
|
|
- name: Install opengl
|
|
run: |
|
|
apt update
|
|
apt install libgl-dev -y
|
|
|
|
- name: Cache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.xmake
|
|
key: 'ubuntu'
|
|
|
|
- name: XMake config
|
|
run: xmake f -p linux -y --root
|
|
|
|
- name: Build
|
|
run: xmake --root
|
|
|
|
- name: Test
|
|
run: xmake test --root |