|
|
|
@ -35,11 +35,11 @@ jobs:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 50
|
|
|
|
|
- run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
|
shell: bash
|
|
|
|
|
- run: scripts/build.bash cargo ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/build.bash cargo ${{ matrix.target }}
|
|
|
|
|
shell: bash
|
|
|
|
|
- run: scripts/test.bash cargo ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/test.bash cargo ${{ matrix.target }}
|
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
@ -64,9 +64,9 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- run: chmod +x /usr/local/bin/cross
|
|
|
|
|
|
|
|
|
|
- run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
|
- run: scripts/build.bash cross ${{ matrix.target }}
|
|
|
|
|
- run: scripts/test.bash cross ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/build.bash cross ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/test.bash cross ${{ matrix.target }}
|
|
|
|
|
if: matrix.target == 'x86_64-apple-darwin'
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
@ -89,9 +89,9 @@ jobs:
|
|
|
|
|
name: cross-linux-musl
|
|
|
|
|
path: /tmp/
|
|
|
|
|
- run: chmod +x /tmp/cross
|
|
|
|
|
- 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 }}
|
|
|
|
|
- run: .github/scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/build.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
|
- run: .github/scripts/test.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
|
if: |
|
|
|
|
|
!contains(matrix.target, 'android') &&
|
|
|
|
|
!contains(matrix.target, 'bsd') &&
|
|
|
|
|