fixing CI

This commit is contained in:
Kbz-8
2023-12-12 18:12:41 +01:00
parent f398126e08
commit c5752f773e
5 changed files with 13 additions and 8 deletions

8
test/build.sh git.filemode.executable_file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
if [ $(uname -s) = 'Darwin' ]; then
clang main.c ../libmlx.dylib -L /opt/homebrew/lib -lSDL2 -g;
else
clang main.c ../libmlx.so -lSDL2 -g;
fi