diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 78abb3c..6a2158c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,9 +24,10 @@ jobs: target: arm-unknown-linux-gnueabihf use-cross: true - - os: windows-latest - target: x86_64-pc-windows-msvc - use-cross: false + # This isn't working right now. See this: https://github.com/chmln/sd/pull/179#discussion_r1195840367 + # - os: windows-latest + # target: x86_64-pc-windows-msvc + # use-cross: false - os: macos-latest target: x86_64-apple-darwin @@ -36,6 +37,10 @@ jobs: target: aarch64-apple-darwin use-cross: false + - os: ubuntu-latest + target: aarch64-unknown-linux-musl + use-cross: true + steps: - name: Checkout repository uses: actions/checkout@v2 @@ -62,10 +67,6 @@ jobs: command: build args: --target ${{ matrix.target }} --release --locked - - name: Strip binary - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' - run: strip target/${{ matrix.target }}/release/sd - - name: Upload binaries to release uses: svenstaro/upload-release-action@v1-release with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index acd6608..443a11d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,14 +21,24 @@ jobs: target: arm-unknown-linux-gnueabihf use-cross: true - - os: windows-latest - target: x86_64-pc-windows-msvc - use-cross: false + # This isn't working right now. See this: https://github.com/chmln/sd/pull/179#discussion_r1195840870 + # - os: windows-latest + # target: x86_64-pc-windows-msvc + # use-cross: false - os: macos-latest target: x86_64-apple-darwin use-cross: false + # This isn't working right now. See this: https://github.com/chmln/sd/pull/179#discussion_r1195840870 + # - os: macos-latest + # target: aarch64-apple-darwin + # use-cross: false + + - os: ubuntu-latest + target: aarch64-unknown-linux-musl + use-cross: true + steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index d39183d..b18462f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,3 +36,4 @@ man = "0.3.0" [profile.release] opt-level = 3 lto = true +strip = true