fixing unit tests CI

This commit is contained in:
Kbz-8
2025-09-24 16:24:06 +02:00
parent 083e3db912
commit c24f1ade64

View File

@@ -56,12 +56,12 @@ jobs:
run: echo "hash=$(xmake l utils.ci.packageskey)" >> $GITHUB_OUTPUT run: echo "hash=$(xmake l utils.ci.packageskey)" >> $GITHUB_OUTPUT
- name: Install unit tester - name: Install unit tester
run: git clone https://github.com/seekrs/MacroUnitTest.git run: git clone https://github.com/seekrs/MacroUnitTest.git ../MacroUnitTest
# Setup compilation mode and install project dependencies # Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies - name: Configure xmake and install dependencies
run: | run: |
cd MacroUnitTest cd ../MacroUnitTest
xmake config -P . --toolchain=clang --ccache=n --yes xmake config -P . --toolchain=clang --ccache=n --yes
# Save dependencies # Save dependencies
@@ -74,5 +74,5 @@ jobs:
- name: Build and run unit tester - name: Build and run unit tester
run: | run: |
cd MacroUnitTest cd ../MacroUnitTest
xmake run -P . -vD MacroUnitTest --headless --path="{{ runner.workspace }}/libmlx.so" xmake run -P . -vD MacroUnitTest --headless --path="{{ runner.workspace }}/libmlx.so"