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