This commit is contained in:
@@ -10,14 +10,17 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: APT
|
- name: Install opengl
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
apt install libgl-dev -y
|
apt install libgl-dev -y
|
||||||
|
|
||||||
- uses: actions/cache/restore@v4
|
- name: Cache
|
||||||
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.xmake/packages
|
path: |
|
||||||
|
~/.xmake/packages
|
||||||
|
build
|
||||||
key: 'ubuntu'
|
key: 'ubuntu'
|
||||||
|
|
||||||
- name: Prepare Xmake
|
- name: Prepare Xmake
|
||||||
@@ -30,11 +33,6 @@ jobs:
|
|||||||
- name: XMake config
|
- name: XMake config
|
||||||
run: xmake f -p linux -y --root
|
run: xmake f -p linux -y --root
|
||||||
|
|
||||||
- uses: actions/cache/save@v4
|
|
||||||
with:
|
|
||||||
path: ~/.xmake/packages
|
|
||||||
key: 'ubuntu'
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: xmake --root
|
run: xmake --root
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user