updated runner
All checks were successful
Linux arm64 / Build (push) Successful in 5m7s

This commit is contained in:
2024-06-03 18:36:27 +02:00
parent edc6f40799
commit dd91750e28

View File

@@ -5,7 +5,7 @@ on: [push]
jobs:
Build:
runs-on: ubuntu-test
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
@@ -17,22 +17,25 @@ jobs:
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu-xmake'
- name: Install opengl
run: |
apt update
apt install libgl-dev -y
- name: Calc deps hash
uses: seepine/hash-files@v1
id: get-hash
with:
patterns: |
**/xmake.lua
**/xmake/*.lua
- name: Cache
- name: Packages cache
uses: actions/cache@v4
with:
path: ~/.xmake
key: 'ubuntu'
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