3 Commits

Author SHA1 Message Date
e80c6a3c60 action: cache only packages
All checks were successful
Linux arm64 / Build (push) Successful in 3m15s
2024-06-03 22:25:23 +02:00
680c180b4b action: update xmake cache name
Some checks failed
Linux arm64 / Build (push) Has been cancelled
2024-06-03 20:03:29 +02:00
a4e90b455d updated runner
Some checks failed
Linux arm64 / Build (push) Has been cancelled
2024-06-03 20:02:19 +02:00

View File

@@ -6,12 +6,7 @@ on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Install deps
run : |
apt update
apt install -y libsdl2-dev libassimp-dev libglew-dev
steps:
- name: Check out repository code
uses: actions/checkout@v3
@@ -20,7 +15,7 @@ jobs:
with:
xmake-version: latest
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu'
actions-cache-key: 'xmake-ubuntu'
- name: Calc deps hash
uses: seepine/hash-files@v1
@@ -33,14 +28,14 @@ jobs:
- name: Packages cache
uses: actions/cache@v4
with:
path: ~/.xmake
path: ~/.xmake/packages
key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }}
- name: XMake config
run: xmake f -p linux -y --root
run: xmake f -p linux -y
- name: Build
run: xmake --root
run: xmake
- name: Test
run: xmake test --root
run: xmake test