Compare commits
3 Commits
3defa497b6
...
doc-action
| Author | SHA1 | Date | |
|---|---|---|---|
| 01b4d39f84 | |||
| 155c81fa37 | |||
| dbdb650992 |
@@ -1,33 +1,33 @@
|
|||||||
name: Linux arm64
|
name: Linux arm64
|
||||||
run-name: Build And Test
|
run-name: Build And Test Code
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
runs-on: ubuntu-test
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install deps
|
||||||
|
run : |
|
||||||
|
apt update
|
||||||
|
apt install -y libsdl2-dev libglew-dev
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install opengl
|
- name: Cache Build
|
||||||
run: |
|
id: cache-build
|
||||||
apt update
|
|
||||||
apt install libgl1-mesa-dev -y
|
|
||||||
|
|
||||||
- name: Cache
|
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.xmake
|
'build'
|
||||||
./build
|
'.xmake'
|
||||||
./.xmake
|
key: ${{ runner.os }}-td
|
||||||
key: 'ubuntu'
|
|
||||||
|
|
||||||
- name: Prepare Xmake
|
- name: Prepare Xmake
|
||||||
uses: xmake-io/github-action-setup-xmake@v1
|
uses: xmake-io/github-action-setup-xmake@v1
|
||||||
with:
|
with:
|
||||||
xmake-version: latest
|
xmake-version: branch@master
|
||||||
actions-cache-folder: '.xmake-cache'
|
actions-cache-folder: '.xmake-cache'
|
||||||
actions-cache-key: 'ubuntu'
|
actions-cache-key: 'ubuntu'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user