From d63f54b399ad0f13d04659cc3c8279f516fdad06 Mon Sep 17 00:00:00 2001 From: battlmonstr Date: Wed, 22 Nov 2023 17:36:24 +0100 Subject: [PATCH] macOS builder workflow --- .github/workflows/release_macos.yml | 18 ++++++++++++++++++ ci/release.sh | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/release_macos.yml create mode 100755 ci/release.sh diff --git a/.github/workflows/release_macos.yml b/.github/workflows/release_macos.yml new file mode 100644 index 0000000..2dd8874 --- /dev/null +++ b/.github/workflows/release_macos.yml @@ -0,0 +1,18 @@ +name: Release macOS builder + +on: + workflow_dispatch: + push: + tags: + - release/*-base + +jobs: + release: + runs-on: macos-13 + # runs-on: macos-13-xlarge # M1 CPU runner requires billing setup + steps: + - uses: actions/checkout@v3 + - name: release.sh + run: | + sudo xcode-select -s /Applications/Xcode_15.0.app + ./ci/release.sh $GITHUB_REF_NAME diff --git a/ci/release.sh b/ci/release.sh new file mode 100755 index 0000000..7b7b6ff --- /dev/null +++ b/ci/release.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +SRC_GIT_URL="https://github.com/battlmonstr/silkworm.git" + +echo "tag = $1" +git branch +uname -a +g++ --version