|
|
@ -53,11 +53,6 @@ jobs:
|
|
|
|
# MSVC
|
|
|
|
# MSVC
|
|
|
|
- i686-pc-windows-msvc
|
|
|
|
- i686-pc-windows-msvc
|
|
|
|
- x86_64-pc-windows-msvc
|
|
|
|
- x86_64-pc-windows-msvc
|
|
|
|
# GNU: You typically only need to test Windows GNU if you're
|
|
|
|
|
|
|
|
# specifically targetting it, and it can cause issues with some
|
|
|
|
|
|
|
|
# dependencies if you're not so it's disabled by self.
|
|
|
|
|
|
|
|
# - i686-pc-windows-gnu
|
|
|
|
|
|
|
|
# - x86_64-pc-windows-gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
macos:
|
|
|
|
macos:
|
|
|
|
runs-on: macos-latest
|
|
|
|
runs-on: macos-latest
|
|
|
@ -74,10 +69,10 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- run: chmod +x /usr/local/bin/cross
|
|
|
|
- run: chmod +x /usr/local/bin/cross
|
|
|
|
|
|
|
|
|
|
|
|
- run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
- run: sudo scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
- run: scripts/build.bash cross ${{ matrix.target }}
|
|
|
|
- run: sudo scripts/build.bash cross ${{ matrix.target }}
|
|
|
|
# Only test on macOS platforms since we can't simulate the others.
|
|
|
|
# Only test on macOS platforms since we can't simulate the others.
|
|
|
|
- run: scripts/test.bash cross ${{ matrix.target }}
|
|
|
|
- run: sudo scripts/test.bash cross ${{ matrix.target }}
|
|
|
|
if: matrix.target == 'x86_64-apple-darwin'
|
|
|
|
if: matrix.target == 'x86_64-apple-darwin'
|
|
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
@ -101,12 +96,9 @@ jobs:
|
|
|
|
name: cross-linux-musl
|
|
|
|
name: cross-linux-musl
|
|
|
|
path: /tmp/
|
|
|
|
path: /tmp/
|
|
|
|
- run: chmod +x /tmp/cross
|
|
|
|
- run: chmod +x /tmp/cross
|
|
|
|
- run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
- run: sudo scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
- run: scripts/build.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
- run: sudo scripts/build.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
# These targets have issues with being tested so they are disabled
|
|
|
|
- run: sudo scripts/test.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
# by default. You can try disabling to see if they work for
|
|
|
|
|
|
|
|
# your project.
|
|
|
|
|
|
|
|
- run: scripts/test.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
|
|
|
|
if: |
|
|
|
|
if: |
|
|
|
|
!contains(matrix.target, 'android') &&
|
|
|
|
!contains(matrix.target, 'android') &&
|
|
|
|
!contains(matrix.target, 'bsd') &&
|
|
|
|
!contains(matrix.target, 'bsd') &&
|
|
|
|