|
|
@ -15,17 +15,26 @@ jobs:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
rust:
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
x86_64-unknown-linux-gnu,
|
|
|
|
|
|
|
|
x86_64-unknown-linux-musl,
|
|
|
|
|
|
|
|
x86_64-apple-darwin,
|
|
|
|
|
|
|
|
x86_64-pc-windows-msvc,
|
|
|
|
|
|
|
|
]
|
|
|
|
include:
|
|
|
|
include:
|
|
|
|
- os: ubuntu-latest
|
|
|
|
- rust: x86_64-unknown-linux-gnu
|
|
|
|
|
|
|
|
os: ubuntu-latest
|
|
|
|
|
|
|
|
artifact: x86_64-linux-gnu
|
|
|
|
|
|
|
|
- rust: x86_64-unknown-linux-musl
|
|
|
|
|
|
|
|
os: ubuntu-latest
|
|
|
|
artifact: x86_64-linux-gnu
|
|
|
|
artifact: x86_64-linux-gnu
|
|
|
|
rust: x86_64-unknown-linux-gnu
|
|
|
|
- rust: x86_64-apple-darwin
|
|
|
|
- os: macos-latest
|
|
|
|
os: macos-latest
|
|
|
|
artifact: x86_64-macos
|
|
|
|
artifact: x86_64-macos
|
|
|
|
rust: x86_64-apple-darwin
|
|
|
|
- rust: x86_64-pc-windows-msvc
|
|
|
|
- os: windows-latest
|
|
|
|
os: windows-latest
|
|
|
|
artifact: x86_64-windows
|
|
|
|
artifact: x86_64-windows
|
|
|
|
rust: x86_64-pc-windows-msvc
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
TARGET: ${{ matrix.rust }}
|
|
|
|
TARGET: ${{ matrix.rust }}
|
|
|
@ -46,6 +55,10 @@ jobs:
|
|
|
|
rustup default stable
|
|
|
|
rustup default stable
|
|
|
|
rustup target add ${{ matrix.rust }}
|
|
|
|
rustup target add ${{ matrix.rust }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install MUSL tools
|
|
|
|
|
|
|
|
run: sudo apt update && sudo apt install musl-tools -y
|
|
|
|
|
|
|
|
if: matrix.rust == 'x86_64-unknown-linux-musl'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Make bundle
|
|
|
|
- name: Make bundle
|
|
|
|
run: make bundle
|
|
|
|
run: make bundle
|
|
|
|
|
|
|
|
|
|
|
@ -74,9 +87,7 @@ jobs:
|
|
|
|
- os: windows-latest
|
|
|
|
- os: windows-latest
|
|
|
|
artifact: i686-windows
|
|
|
|
artifact: i686-windows
|
|
|
|
rust: i686-pc-windows-msvc
|
|
|
|
rust: i686-pc-windows-msvc
|
|
|
|
- os: ubuntu-latest
|
|
|
|
|
|
|
|
rust: x86_64-unknown-linux-musl
|
|
|
|
|
|
|
|
artifact: x86_64-linux-musl
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
TARGET: ${{ matrix.rust }}
|
|
|
|
TARGET: ${{ matrix.rust }}
|
|
|
@ -96,9 +107,6 @@ jobs:
|
|
|
|
run: sudo apt update && sudo apt install gcc-multilib -y
|
|
|
|
run: sudo apt update && sudo apt install gcc-multilib -y
|
|
|
|
if: runner.os == 'Linux'
|
|
|
|
if: runner.os == 'Linux'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install MUSL tools
|
|
|
|
|
|
|
|
run: sudo apt update && sudo apt install musl-tools -y
|
|
|
|
|
|
|
|
if: matrix.rust == 'x86_64-unknown-linux-musl'
|
|
|
|
|
|
|
|
- name: Install Rust
|
|
|
|
- name: Install Rust
|
|
|
|
run: rustup target add ${{ matrix.rust }}
|
|
|
|
run: rustup target add ${{ matrix.rust }}
|
|
|
|
|
|
|
|
|
|
|
|