mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-06-03 07:08:15 +02:00
fixing CI
This commit is contained in:
@@ -39,4 +39,4 @@ jobs:
|
||||
|
||||
# Build the test
|
||||
- name: Build Test
|
||||
run: cd test && bash ./run.sh
|
||||
run: cd test && bash ./build.sh
|
||||
|
||||
@@ -39,5 +39,5 @@ jobs:
|
||||
|
||||
# Build the test
|
||||
- name: Build Test
|
||||
run: cd test && bash ./run.sh
|
||||
run: cd test && bash ./build.sh
|
||||
|
||||
|
||||
@@ -45,5 +45,5 @@ jobs:
|
||||
|
||||
# Build the test
|
||||
- name: Build Test
|
||||
run: cd test && bash ./run.sh
|
||||
run: cd test && bash ./build.sh
|
||||
|
||||
|
||||
Executable
+8
@@ -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
@@ -1,7 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $(uname -s) = 'Darwin' ]; then
|
||||
clang main.c ../libmlx.dylib -L /opt/homebrew/lib -lSDL2 -g && ./a.out;
|
||||
else
|
||||
clang main.c ../libmlx.so -lSDL2 -g && ./a.out;
|
||||
fi
|
||||
bash ./build.sh
|
||||
./a.out
|
||||
|
||||
Reference in New Issue
Block a user