Compare commits
3 Commits
e2f1850987
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e80c6a3c60 | |||
| 680c180b4b | |||
| a4e90b455d |
@@ -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
|
||||
Reference in New Issue
Block a user