Compare commits
21 Commits
doc-action
...
911fe7cc10
| Author | SHA1 | Date | |
|---|---|---|---|
| 911fe7cc10 | |||
| a6a71cb487 | |||
| 3e8cf5e290 | |||
| c62f114087 | |||
| 237c6d9981 | |||
| ece20e0e1f | |||
| 3eecfa7df1 | |||
| 80bdf130dc | |||
| 4338fd3895 | |||
| 3a334b3227 | |||
| 186ca76345 | |||
| da3439cc03 | |||
| 5a1f71e5c0 | |||
| 93d587d463 | |||
| bad65f89d0 | |||
| 3c04810496 | |||
| ec538c1783 | |||
| 01bd4621b3 | |||
| 2ef4f091f1 | |||
| bc4e1f1f35 | |||
| 7c4ed3910f |
@@ -1,36 +1,40 @@
|
||||
name: Linux arm64
|
||||
run-name: Build And Test Code
|
||||
run-name: Build And Test
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-test
|
||||
steps:
|
||||
- name: Install deps
|
||||
run : |
|
||||
apt update
|
||||
apt install -y libsdl2-dev libglew-dev
|
||||
|
||||
- run: ls -la
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Cache Build
|
||||
id: cache-build
|
||||
- name: Install opengl
|
||||
run: |
|
||||
apt update
|
||||
apt install libgl1-mesa-dev python3.11-full -y
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
'build'
|
||||
'.xmake'
|
||||
key: ${{ runner.os }}-td
|
||||
~/.xmake
|
||||
./build
|
||||
./.xmake
|
||||
key: 'ubuntu'
|
||||
|
||||
- name: Prepare Xmake
|
||||
uses: xmake-io/github-action-setup-xmake@v1
|
||||
with:
|
||||
xmake-version: branch@master
|
||||
xmake-version: latest
|
||||
actions-cache-folder: '.xmake-cache'
|
||||
actions-cache-key: 'ubuntu'
|
||||
|
||||
- run: ls -la
|
||||
|
||||
- name: XMake config
|
||||
run: xmake f -p linux -y --root
|
||||
|
||||
|
||||
Reference in New Issue
Block a user