|
|
@ -35,11 +35,11 @@ jobs:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
fetch-depth: 50
|
|
|
|
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
|
|
|
|
shell: bash
|
|
|
|
- run: scripts/build.bash cargo ${{ matrix.target }}
|
|
|
|
- run: .github/scripts/build.bash cargo ${{ matrix.target }}
|
|
|
|
shell: bash
|
|
|
|
shell: bash
|
|
|
|
- run: scripts/test.bash cargo ${{ matrix.target }}
|
|
|
|
- run: .github/scripts/test.bash cargo ${{ matrix.target }}
|
|
|
|
shell: bash
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
@ -64,9 +64,9 @@ 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: .github/scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
- run: scripts/build.bash cross ${{ matrix.target }}
|
|
|
|
- run: .github/scripts/build.bash cross ${{ matrix.target }}
|
|
|
|
- run: scripts/test.bash cross ${{ matrix.target }}
|
|
|
|
- run: .github/scripts/test.bash cross ${{ matrix.target }}
|
|
|
|
if: matrix.target == 'x86_64-apple-darwin'
|
|
|
|
if: matrix.target == 'x86_64-apple-darwin'
|
|
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
@ -89,9 +89,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: .github/scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }}
|
|
|
|
- run: scripts/build.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
- run: .github/scripts/build.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
- run: scripts/test.bash /tmp/cross ${{ matrix.target }}
|
|
|
|
- run: .github/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') &&
|
|
|
|