mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
attempt at dual mac builds (#3798)
This commit is contained in:
parent
01b25650e2
commit
2d60c5178b
1 changed files with 25 additions and 4 deletions
27
.github/workflows/cd.yaml
vendored
27
.github/workflows/cd.yaml
vendored
|
@ -27,14 +27,14 @@ jobs:
|
||||||
target/release/grin-${{ github.ref_name }}-linux-x86_64.tar.gz
|
target/release/grin-${{ github.ref_name }}-linux-x86_64.tar.gz
|
||||||
target/release/grin-${{ github.ref_name }}-linux-x86_64-sha256sum.txt
|
target/release/grin-${{ github.ref_name }}-linux-x86_64-sha256sum.txt
|
||||||
|
|
||||||
macos-release:
|
macos-release-x86:
|
||||||
name: macOS Release
|
name: macOS Release - x86_64
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release
|
run: cargo build --release --target x86_64-apple-darwin
|
||||||
- name: Archive
|
- name: Archive
|
||||||
working-directory: target/release
|
working-directory: target/release
|
||||||
run: tar -czvf grin-${{ github.ref_name }}-macos-x86_64.tar.gz grin
|
run: tar -czvf grin-${{ github.ref_name }}-macos-x86_64.tar.gz grin
|
||||||
|
@ -48,6 +48,27 @@ jobs:
|
||||||
target/release/grin-${{ github.ref_name }}-macos-x86_64.tar.gz
|
target/release/grin-${{ github.ref_name }}-macos-x86_64.tar.gz
|
||||||
target/release/grin-${{ github.ref_name }}-macos-x86_64-sha256sum.txt
|
target/release/grin-${{ github.ref_name }}-macos-x86_64-sha256sum.txt
|
||||||
|
|
||||||
|
macos-release-arm64:
|
||||||
|
name: macOS Release - arm64
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --release
|
||||||
|
- name: Archive
|
||||||
|
working-directory: target/release
|
||||||
|
run: tar -czvf grin-${{ github.ref_name }}-macos-arm64.tar.gz grin
|
||||||
|
- name: Create Checksum
|
||||||
|
working-directory: target/release
|
||||||
|
run: openssl sha256 grin-${{ github.ref_name }}-macos-arm64.tar.gz > grin-${{ github.ref_name }}-macos-arm64-sha256sum.txt
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
target/release/grin-${{ github.ref_name }}-macos-arm64.tar.gz
|
||||||
|
target/release/grin-${{ github.ref_name }}-macos-arm64-sha256sum.txt
|
||||||
|
|
||||||
windows-release:
|
windows-release:
|
||||||
name: Windows Release
|
name: Windows Release
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
|
Loading…
Reference in a new issue