3 Commits

Author SHA1 Message Date
01b4d39f84 caca
All checks were successful
Linux arm64 / Build (push) Successful in 5m42s
2024-02-10 20:16:33 +01:00
155c81fa37 cache .xmake too
All checks were successful
Linux arm64 / Build (push) Successful in 5m27s
2024-02-10 19:56:37 +01:00
dbdb650992 cache build
All checks were successful
Linux arm64 / Build (push) Successful in 5m50s
2024-02-10 19:41:22 +01:00

View File

@@ -1,40 +1,36 @@
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:
- run: ls -la - 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 python3.11-full -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'
- run: ls -la
- name: XMake config - name: XMake config
run: xmake f -p linux -y --root run: xmake f -p linux -y --root