Skip to content

Commit aa4f30d

Browse files
committed
fix test loading
1 parent a5e1b21 commit aa4f30d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/actions/compile/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ runs:
8787
c++ -s -o libtinymesa_nak.so -shared -fPIC -Wl,--no-undefined -Wl,-T,${{ github.workspace }}/nak.ld build/src/nouveau/compiler/libnak.a build/src/nouveau/compiler/libnak_rs.a \
8888
-Wl,--start-group $(find build/src -name "*.a" | grep -Ev "nir|nak") -Wl,--end-group \
8989
-ltinymesa -L.
90-
- name: Test loading
90+
- name: Test loading with ctypes
9191
shell: bash
92-
run: LD_LIBRARY_PATH=. python3 -c "import ctypes; ctypes.CDLL('./libtinymesa.so'), ctypes.CDLL('libtinymesa_lvp.so'), ctypes.CDLL('libtinymesa_nak.so')"
92+
run: |
93+
cd ${{ github.workspace }}/mesa
94+
LD_LIBRARY_PATH=. python3 -c "import ctypes; ctypes.CDLL('./libtinymesa.so'), ctypes.CDLL('libtinymesa_lvp.so'), ctypes.CDLL('libtinymesa_nak.so')"

0 commit comments

Comments
 (0)