Skip to content

Commit

Permalink
fix(ci): mac x64 builds and make artifacts slimmer (#14)
Browse files Browse the repository at this point in the history
* fix(ci): mac x64 builds and make artifacts slimmer

* forgot it
  • Loading branch information
Arqu committed Dec 13, 2023
1 parent 108f110 commit 86697ba
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
name: [ubuntu-latest, ubuntu-arm-latest, macOS-arm-latest, windows-latest]
name: [ubuntu-latest, ubuntu-arm-latest, macOS-latest, macOS-arm-latest, windows-latest]
rust: [stable]
include:
- name: ubuntu-arm-latest
Expand All @@ -66,11 +66,10 @@ jobs:
os: ubuntu-latest
target: linux-x86_64
runner: [self-hosted, linux, X64]
# TODO: x86_64 runner is not available on the org level
# - name: macOS-latest
# os: macOS-latest
# target: darwin-x86_64
# runner: [self-hosted, macOS, X64]
- name: macOS-latest
os: macOS-latest
target: darwin-x86_64
runner: [self-hosted, macOS, X64]
- name: macOS-arm-latest
os: macOS-latest
target: darwin-aarch64
Expand All @@ -96,8 +95,7 @@ jobs:
run: |
outdir="./target/release"
staging="${{ env.BIN_NAME }}-${{ needs.create-release.outputs.release_version }}-${{ matrix.target }}"
mkdir -p "$staging"/complete
cp {README.md,LICENSE-*} "$staging/"
mkdir -p "$staging"
if [ "${{ matrix.os }}" = "windows-latest" ]; then
cp "target/release/${{ env.BIN_NAME }}.exe" "$staging/"
cd "$staging"
Expand Down

0 comments on commit 86697ba

Please sign in to comment.