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: jobs:
Build: Build:
runs-on: ubuntu-test runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -17,22 +17,25 @@ jobs:
actions-cache-folder: '.xmake-cache' actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu-xmake' actions-cache-key: 'ubuntu-xmake'
- name: Install opengl - name: Calc deps hash
run: | uses: seepine/hash-files@v1
apt update id: get-hash
apt install libgl-dev -y with:
patterns: |
**/xmake.lua
**/xmake/*.lua
- name: Cache - name: Packages cache
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: ~/.xmake path: ~/.xmake
key: 'ubuntu' key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }}
- name: XMake config - name: XMake config
run: xmake f -p linux -y --root run: xmake f -p linux -y
- name: Build - name: Build
run: xmake --root run: xmake
- name: Test - name: Test
run: xmake test --root run: xmake test