There was an error while loading. Please reload this page.
1 parent e7cd2f4 commit 51562c2Copy full SHA for 51562c2
2 files changed
.github/workflows/main.yml
@@ -21,7 +21,7 @@ jobs:
21
uses: pypa/cibuildwheel@v3.3.1
22
env:
23
CIBW_SKIP: "cp314*"
24
- CIBW_BEFORE_ALL: 'if [[ "$(uname)" == "Darwin" ]]; then ./scripts/build-deps-macos.sh; elif [[ "$(uname)" == "Linux" ]]; then ./scripts/build-deps-linux.sh; fi'
+ CIBW_BEFORE_ALL: ${{ matrix.os == 'ubuntu-latest' && 'scripts/build-deps-linux.sh' || (matrix.os == 'macos-latest' && 'scripts/build-deps-macos.sh' || '') }}
25
26
- uses: actions/upload-artifact@v4
27
if: always()
scripts/build-deps-linux.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash -xe
2
3
-sudo apt update
4
-sudo apt install autoconf automake libtool libudev-dev m4
+apt update
+apt install autoconf automake libtool libudev-dev m4
5
6
7
# Build libusb master
0 commit comments