mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
fixing unit tests CI
This commit is contained in:
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user