From 40aa77a1607a6847f88cd9abc96f8fe4da3943a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 30 Nov 2023 19:02:38 +0100 Subject: [PATCH] Remove superfluous CMake flag in GH build workflow The source directory already defaults to the current directory. --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7b30df8..28c2d18d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,12 +23,12 @@ jobs: sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev - name: Configure static library - run: cmake -S . -B build-static + run: cmake -B build-static - name: Build static library run: cmake --build build-static --parallel - name: Configure shared library - run: cmake -S . -B build-shared -D BUILD_SHARED_LIBS=ON + run: cmake -B build-shared -D BUILD_SHARED_LIBS=ON - name: Build shared library run: cmake --build build-shared --parallel @@ -46,12 +46,12 @@ jobs: sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev wayland-protocols libwayland-dev libxkbcommon-dev - name: Configure static library - run: cmake -S . -B build-static -D GLFW_BUILD_WAYLAND=ON + run: cmake -B build-static -D GLFW_BUILD_WAYLAND=ON - name: Build static library run: cmake --build build-static --parallel - name: Configure shared library - run: cmake -S . -B build-shared -D GLFW_BUILD_WAYLAND=ON -D BUILD_SHARED_LIBS=ON + run: cmake -B build-shared -D GLFW_BUILD_WAYLAND=ON -D BUILD_SHARED_LIBS=ON - name: Build shared library run: cmake --build build-shared --parallel @@ -65,12 +65,12 @@ jobs: - uses: actions/checkout@v3 - name: Configure static library - run: cmake -S . -B build-static + run: cmake -B build-static - name: Build static library run: cmake --build build-static --parallel - name: Configure shared library - run: cmake -S . -B build-shared -D BUILD_SHARED_LIBS=ON + run: cmake -B build-shared -D BUILD_SHARED_LIBS=ON - name: Build shared library run: cmake --build build-shared --parallel @@ -83,12 +83,12 @@ jobs: - uses: actions/checkout@v3 - name: Configure static library - run: cmake -S . -B build-static -G "Visual Studio 17 2022" + run: cmake -B build-static -G "Visual Studio 17 2022" - name: Build static library run: cmake --build build-static --parallel - name: Configure shared library - run: cmake -S . -B build-shared -G "Visual Studio 17 2022" -D BUILD_SHARED_LIBS=ON + run: cmake -B build-shared -G "Visual Studio 17 2022" -D BUILD_SHARED_LIBS=ON - name: Build shared library run: cmake --build build-shared --parallel