Remove sudo

pull/1/head
sgoudham 3 years ago
parent bccdab4a00
commit 9c3dd75b94

@ -69,10 +69,10 @@ jobs:
- run: chmod +x /usr/local/bin/cross
- run: sudo scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
- run: sudo scripts/build.bash cross ${{ matrix.target }}
- run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
- run: scripts/build.bash cross ${{ matrix.target }}
# Only test on macOS platforms since we can't simulate the others.
- run: sudo scripts/test.bash cross ${{ matrix.target }}
- run: scripts/test.bash cross ${{ matrix.target }}
if: matrix.target == 'x86_64-apple-darwin'
strategy:
@ -96,9 +96,9 @@ jobs:
name: cross-linux-musl
path: /tmp/
- run: chmod +x /tmp/cross
- run: sudo scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
- run: sudo scripts/build.bash /tmp/cross ${{ matrix.target }}
- run: sudo scripts/test.bash /tmp/cross ${{ matrix.target }}
- run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
- run: scripts/build.bash /tmp/cross ${{ matrix.target }}
- run: scripts/test.bash /tmp/cross ${{ matrix.target }}
if: |
!contains(matrix.target, 'android') &&
!contains(matrix.target, 'bsd') &&

Loading…
Cancel
Save