diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 313569b..cbe96ba 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -23,12 +23,11 @@ jobs: # aarch64 - { os: macos-11 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-11 } - { os: macos-12 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-12 } - - { os: ubuntu-20.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-20.04 } - - { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-22.04 } # amd64 - { os: macos-12 , target: x86_64-apple-darwin , alias: amd64-darwin-macos-unknown } - { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-20.04 } - { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-22.04 } + - { os: ubuntu-22.04, target: x86_64-unknown-linux-musl, alias: amd64-musl-linux-unknown } - { os: windows-2019, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2019 } - { os: windows-2022, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2022 } @@ -38,7 +37,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - - name: Setup rust toolchain + - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 with: profile: minimal @@ -46,7 +45,7 @@ jobs: toolchain: nightly-2023-09-06 components: rustfmt, clippy - - name: Show rust toolchain version + - name: Show Rust toolchain version shell: bash run: | cargo -V @@ -54,11 +53,6 @@ jobs: cargo fmt -- -V rustc -V - - name: Setup musl-tools - if: runner.os == 'Linux' - shell: bash - run: sudo apt install musl-tools - - name: Add target uses: ./.github/actions/add-target with: diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index e8fa040..d0e3371 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -17,12 +17,11 @@ jobs: # aarch64 - { os: macos-11 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-11 } - { os: macos-12 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-12 } - - { os: ubuntu-20.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-20.04 } - - { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-22.04 } # amd64 - { os: macos-12 , target: x86_64-apple-darwin , alias: amd64-darwin-macos-unknown } - { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-20.04 } - { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-22.04 } + - { os: ubuntu-22.04, target: x86_64-unknown-linux-musl, alias: amd64-musl-linux-unknown } - { os: windows-2019, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2019 } - { os: windows-2022, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2022 } @@ -40,11 +39,6 @@ jobs: toolchain: nightly-2023-09-06 components: rustfmt, clippy - - name: Setup musl-tools - if: runner.os == 'Linux' - shell: bash - run: sudo apt install musl-tools - - name: Add target uses: ./.github/actions/add-target with: