Skip to content

Commit

Permalink
Python workflow: do not sudo in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
orottier committed Jun 11, 2024
1 parent ac04097 commit fb0503a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path python/Cargo.toml
sccache: "true"
before-script-linux: sudo apt-get update && sudo apt-get install -y pkg-config libasound2-dev libjack-jackd2-dev cmake
before-script-linux: apt-get update && apt-get install -y pkg-config libasound2-dev libjack-jackd2-dev cmake
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -74,15 +74,13 @@ jobs:
# - uses: actions/setup-python@v5
# with:
# python-version: 3.x
# - name: Install ALSA and Jack dependencies
# run: |
# sudo apt-get update && sudo apt-get install -y pkg-config alsa libasound2-dev libjack-jackd2-dev cmake
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.platform.target }}
# args: --release --out dist --find-interpreter --manifest-path python/Cargo.toml
# sccache: "true"
# before-script-linux: apt-get update && apt-get install -y pkg-config libasound2-dev libjack-jackd2-dev cmake
# manylinux: musllinux_1_2
# - name: Upload wheels
# uses: actions/upload-artifact@v4
Expand Down

0 comments on commit fb0503a

Please sign in to comment.