summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorRay <[email protected]>2020-08-19 10:43:48 +0200
committerGitHub <[email protected]>2020-08-19 10:43:48 +0200
commit71bd9f04fefa19cf42a43aa0eae422ad1f4775d8 (patch)
tree77fbd1e7467f29efecb7123a343cebdf60f85d98 /.github/workflows
parent5427e08c18669ba736eb0df7f3493c67da3aa62a (diff)
downloadraylib-71bd9f04fefa19cf42a43aa0eae422ad1f4775d8.tar.gz
raylib-71bd9f04fefa19cf42a43aa0eae422ad1f4775d8.zip
Update macos.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/macos.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index d70ff584..7a842ff5 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -23,13 +23,15 @@ jobs:
mkdir lib
cd ../..
+ # Generating static + shared library, note that i386 architecture is deprecated
+ # Defining GL_SILENCE_DEPRECATION because OpenGL is deprecated on macOS
- name: Build Library
run: |
cd src
gcc -v
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" CFLAGS="-target x86_64-apple-macos10.12 -DGL_SILENCE_DEPRECATION"
make clean
- make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" CFLAGS=-DGL_SILENCE_DEPRECATION -B
+ make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" CFLAGS="-target x86_64-apple-macos10.12 -DGL_SILENCE_DEPRECATION" -B
cd ..
- name: Generate Artifacts