From 22f624d7caa01c6ad7a4b00cb339833f69cc6c5a Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sun, 13 Oct 2024 18:26:29 +0100 Subject: [PATCH] try mac --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 441c4fa..58f20e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: architecture: x64 # Runs a set of commands using the runners shell - - name: Build raylib + - name: Build raylib without SDL because SDL version has incorrect pkg-config run: | cd raylib-c mkdir build @@ -50,14 +50,14 @@ jobs: make -j2 sudo make install - - name: Build raylibsdl + - name: Build raylib with SDL run: | cd raylib-c mkdir build2 cd build2 cmake -DPLATFORM=SDL -DBUILD_EXAMPLES=OFF -DCUSTOMIZE_BUILD=ON -DSUPPORT_FILEFORMAT_JPG=ON -DSUPPORT_FILEFORMAT_FLAC=ON -DWITH_PIC=ON -DCMAKE_BUILD_TYPE=Release .. make -j2 - sudo make install + sudo cp raylib/libraylib.a /usr/local/lib/libraylib.a - name: Copy extras run: |