From 90374cf8d9825d085e00a1dd2742e464dc47daec Mon Sep 17 00:00:00 2001 From: Breno A Date: Sun, 19 May 2024 07:16:19 -0300 Subject: [PATCH] ci: build needs sudo on MacOS --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e57bf5..d351704 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,11 @@ jobs: mkdir build cd build cmake .. -G"Ninja" -DBUILD_SHARED_LIBS=ON -DOQS_BUILD_ONLY_LIB=ON - ninja install + if [ "${{ matrix.os }}" != "windows-latest" ]; then + sudo ninja install + else + ninja install + fi working-directory: liboqs - name: Set up JDK ${{ matrix.java-version }}