fixing CI

This commit is contained in:
2023-12-12 18:12:41 +01:00
parent f9d729d30b
commit a387e34d3c
5 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -39,4 +39,4 @@ jobs:
# Build the test # Build the test
- name: Build Test - name: Build Test
run: cd test && bash ./run.sh run: cd test && bash ./build.sh
+1 -1
View File
@@ -39,5 +39,5 @@ jobs:
# Build the test # Build the test
- name: Build Test - name: Build Test
run: cd test && bash ./run.sh run: cd test && bash ./build.sh
+1 -1
View File
@@ -45,5 +45,5 @@ jobs:
# Build the test # Build the test
- name: Build Test - name: Build Test
run: cd test && bash ./run.sh run: cd test && bash ./build.sh
Executable
+8
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
+2 -5
View File
@@ -1,7 +1,4 @@
#!/bin/bash #!/bin/bash
if [ $(uname -s) = 'Darwin' ]; then bash ./build.sh
clang main.c ../libmlx.dylib -L /opt/homebrew/lib -lSDL2 -g && ./a.out; ./a.out
else
clang main.c ../libmlx.so -lSDL2 -g && ./a.out;
fi