diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2021-01-21 23:17:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 23:17:02 +0100 |
commit | 132be11790dbc0251acb563bbca1d2c5486d6566 (patch) | |
tree | 6ead37ad48c75c1131d1cbb2cb9bf85099812bb3 /.github | |
parent | 00afc82049c094ccac6a3363043c4972746cafee (diff) |
build: add builds for various targets (#2137)
* build: add builds for various targets
* fix typo
Co-authored-by: Matan Kushner <hello@matchai.me>
Co-authored-by: Matan Kushner <hello@matchai.me>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5c02cba4b..d202f08be 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -52,13 +52,30 @@ jobs: os: ubuntu-latest name: starship-i686-unknown-linux-musl.tar.gz + - target: aarch64-unknown-linux-musl + os: ubuntu-latest + name: starship-aarch64-unknown-linux-musl.tar.gz + + - target: arm-unknown-linux-musleabihf + os: ubuntu-latest + name: starship-arm-unknown-linux-musleabihf.tar.gz + - target: x86_64-apple-darwin os: macOS-latest name: starship-x86_64-apple-darwin.tar.gz + + # TODO: switch to macOS-latest once it reaches 11.0 + - target: aarch64-apple-darwin + os: macos-11.0 + name: starship-aarch64-apple-darwin.tar.gz - target: x86_64-pc-windows-msvc os: windows-latest name: starship-x86_64-pc-windows-msvc.zip + + - target: i686-pc-windows-msvc + os: windows-latest + name: starship-i686-pc-windows-msvc.zip runs-on: ${{ matrix.os }} steps: @@ -101,7 +118,8 @@ jobs: if: matrix.os != 'windows-latest' run: | cd target/${{ matrix.target }}/release - strip starship + # TODO: investigate better cross platform stripping + strip starship || true tar czvf ../../../${{ matrix.name }} starship cd - |