mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 21:36:13 +01:00
Build as non-superuser on macOS
This commit is contained in:
1 parent
b63eddd4cd
commit
81c7fb1a26
1 file changed
+2
-2
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- { name: Windows VS2022, os: windows-2022 }
|
- { name: Windows VS2022, os: windows-2022 }
|
||||||
- { name: Linux GCC, os: ubuntu-latest }
|
- { name: Linux GCC, os: ubuntu-latest }
|
||||||
- { name: Linux Clang, os: ubuntu-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ }
|
- { 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:
|
steps:
|
||||||
- name: Install Linux Dependencies
|
- name: Install Linux Dependencies
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build SFML
|
- name: Build SFML
|
||||||
shell: bash
|
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
|
- name: Checkout CSFML
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
Reference in new issue
Block a user