Skip to content

Commit

Permalink
attempt2
Browse files Browse the repository at this point in the history
  • Loading branch information
ktechmidas committed Oct 13, 2024
1 parent 87dff59 commit 7d8d6ab
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,22 @@ on:
description: "Version (i.e. v0.1.0)"
required: true

jobs:
build-and-release:
jobs:
build-and-release:
name: Build and Release Dash Evo Tool
strategy:
matrix:
arch: [amd64, arm64] # matrix for amd64 and arm64
include:
- platform: linux/amd64
runner_tags: ["self-hosted", "Linux", "X64"] # X64 runner tags
target: x86_64-unknown-linux-gnu
- platform: linux/arm64
runner_tags: ["self-hosted", "Linux", "ARM64"] # ARM64 runner tags
target: aarch64-unknown-linux-gnu
platform:
- { name: "linux-amd64", runner: "self-hosted", runner_tags: "self-hosted Linux x64", target: "x86_64-unknown-linux-gnu" }
- { name: "linux-arm64", runner: "self-hosted", runner_tags: "self-hosted Linux ARM64", target: "aarch64-unknown-linux-gnu" }
- { name: "macos-amd64", runner: "macos-latest", target: "x86_64-apple-darwin" }
- { name: "macos-arm64", runner: "macos-latest", target: "aarch64-apple-darwin" }

runs-on: ${{ matrix.runner_tags || matrix.runner }} # Use runner_tags for self-hosted or GitHub runner for macOS

runs-on: ${{ matrix.runner_tags }} # runs on specific runner based on architecture and tags
runs-on: ${{ matrix.runner_tags }} # Use the space-separated tag string

steps:
- name: Check out code
Expand Down

0 comments on commit 7d8d6ab

Please sign in to comment.