From 890e3e9bf1ad7e6f884adf2999c15dd3471e32ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=90=D0=B7=D0=BE?= =?UTF-8?q?=D0=B2=D1=86=D0=B5=D0=B2?= Date: Mon, 9 Dec 2024 00:37:59 +0300 Subject: [PATCH] sudo for linux build --- .github/workflows/build_and_test.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 1ba0113..01652f4 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -34,6 +34,7 @@ jobs: strategy: matrix: os: [ubuntu-24.04, macos-15] + fail-fast: false steps: - name: Checkout code uses: actions/checkout@v4 @@ -50,10 +51,17 @@ jobs: jam-${{ runner.os }} - name: "Basic init" - run: sudo ./.ci/scripts/init.sh - + run: | + if [[ $RUNNER_OS == "Linux" ]]; then + sudo ./.ci/scripts/init.sh + else + ./.ci/scripts/init.sh + fi + - name: "Init all dependencies" - run: sudo make init_all + run: | + make init_py + make init_vcpkg - name: "Configure" run: make configure