From 81c7fb1a268ef42e1974931da99bf411afeb6c4f Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Fri, 7 Jul 2023 21:01:27 -0600 Subject: [PATCH] Build as non-superuser on macOS --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 279484a..5429f96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - { name: Windows VS2022, os: windows-2022 } - { name: Linux GCC, os: ubuntu-latest } - { name: Linux Clang, os: ubuntu-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ } - - { name: MacOS, os: macos-12, flags: -DSFML_BUILD_FRAMEWORKS=FALSE, prefix: sudo } + - { name: MacOS, os: macos-12, flags: -DSFML_BUILD_FRAMEWORKS=FALSE } steps: - name: Install Linux Dependencies if: runner.os == 'Linux' @@ -34,7 +34,7 @@ jobs: - name: Build SFML shell: bash - run: ${{matrix.platform.prefix}} cmake --build $GITHUB_WORKSPACE/SFML/build --config Release --target install + run: cmake --build $GITHUB_WORKSPACE/SFML/build --config Release --target install - name: Checkout CSFML uses: actions/checkout@v3