From 9d45515a473ac7e2ea23bd642beb5db0761d03f1 Mon Sep 17 00:00:00 2001 From: Michael Pfaff <23013931+mpfaff@users.noreply.github.com> Date: Sun, 9 Jun 2024 20:37:25 +0000 Subject: [PATCH] Update build.yml --- .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 5cbddb8fad..87d44ceed9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev - name: Configure library - run: cmake -B build -D GLFW_BUILD_WAYLAND=${{ matrix.wayland && "ON" || "OFF" }} -D GLFW_BUILD_X11=${{ matrix.x11 && "ON" || "OFF" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && "ON" || "OFF" }} + run: cmake -B build -D GLFW_BUILD_WAYLAND=${{ matrix.wayland && 'ON' || 'OFF' }} -D GLFW_BUILD_X11=${{ matrix.x11 && 'ON' || 'OFF' }} -D BUILD_SHARED_LIBS=${{ matrix.shared && 'ON' || 'OFF' }} - name: Build library run: cmake --build build --parallel - name: Upload library @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@v4 - name: Configure library - run: cmake -B build -D GLFW_BUILD_COCOA=${{ matrix.cocoa && "ON" || "OFF" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && "ON" || "OFF" }} + run: cmake -B build -D GLFW_BUILD_COCOA=${{ matrix.cocoa && 'ON' || 'OFF' }} -D BUILD_SHARED_LIBS=${{ matrix.shared && 'ON' || 'OFF' }} - name: Build library run: cmake --build build --parallel - name: Upload library @@ -79,7 +79,7 @@ jobs: - uses: actions/checkout@v4 - name: Configure library - run: cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch == "x32" && "Win32" || "x64" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && "ON" || "OFF" }} + run: cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch == "x32" && "Win32" || "x64" }} -D BUILD_SHARED_LIBS=${{ matrix.shared && 'ON' || 'OFF' }} - name: Build library run: cmake --build build --parallel - name: Upload library