Skip to content

Commit

Permalink
sudo for linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
perfplay committed Dec 8, 2024
1 parent c38bb63 commit 890e3e9
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-24.04, macos-15]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -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
Expand Down

0 comments on commit 890e3e9

Please sign in to comment.