Skip to content

Commit

Permalink
add m1 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed May 28, 2024
1 parent 37f1280 commit c03ca75
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/mac-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
repository_dispatch:
types: mac-build
push:
branches: [actionsHub, main, test-ready, "*-bugfix"]
branches: [actionsHub, main, "*-bugfix"]
pull_request:
branches: [main, test-ready]
branches: [main]
workflow_call:
inputs:
submodule:
Expand All @@ -16,7 +16,15 @@ on:

jobs:
build:
runs-on: macos-11
strategy:
matrix:
os: [macos-11, macos-14]
include:
- os: macos-11
openssl-path: /usr/local/opt/openssl
- os: macos-14
openssl-path: /opt/homebrew/opt/openssl
runs-on: ${{ matrix.os }}
steps:
- name: Get checkout directory
uses: haya14busa/action-cond@v1
Expand Down Expand Up @@ -84,7 +92,7 @@ jobs:
if: steps.cache-aql.outputs.cache-hit != 'true'
working-directory: ${{ steps.working-dir.outputs.value }}
run: |
make OPENSSL_STATIC_PATH=/usr/local/opt/openssl/lib
make OPENSSL_STATIC_PATH=${{ matrix.openssl-path }}/lib
- name: Sanity Test tools
working-directory: ${{ steps.working-dir.outputs.value }}
run: |
Expand Down

0 comments on commit c03ca75

Please sign in to comment.