Skip to content

Commit

Permalink
added platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ktechmidas committed Oct 13, 2024
1 parent 777652a commit 38d5eda
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,19 @@ jobs:
- name: "linux-amd64"
runs-on: ["self-hosted", "Linux", "x64"] # Array of tags for AMD64
target: "x86_64-unknown-linux-gnu"
platform: "amd64"
- name: "linux-arm64"
runs-on: ["self-hosted", "Linux", "ARM64"] # Array of tags for ARM64
target: "aarch64-unknown-linux-gnu"
platform: "arm64"
- name: "macos-amd64"
runs-on: "macos-latest"
target: "x86_64-apple-darwin"
platform: "mac-x86"
- name: "macos-arm64"
runs-on: "macos-latest"
target: "aarch64-apple-darwin"
platform: "mac-arm"

runs-on: ${{ matrix.runs-on }}

Expand All @@ -55,13 +59,13 @@ jobs:
PROTOC: /usr/local/bin/protoc

- name: Build project
run: cargo build --release --target aarch64-unknown-linux-gnu
run: cargo build --release --target ${{ matrix.target }}

- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: dash-evo-tool-${{ matrix.platform }}
path: target/aarch64-unknown-linux-gnu/release/dash-evo-tool
path: target/${{ matrix.target }}/release/dash-evo-tool

continue-on-error: true

Expand Down

0 comments on commit 38d5eda

Please sign in to comment.