Skip to content

Commit

Permalink
build: TOOLS-2934 use github actions to build m-series macos (#43)
Browse files Browse the repository at this point in the history
* build: add m1 build

* build: bump macos-11 runners to macos-12

---------

Co-authored-by: dwelch-spike <[email protected]>
  • Loading branch information
Jesse S and dwelch-spike authored Jul 30, 2024
1 parent 2b5a245 commit 14171d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/mac-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Mac Artifact

on:
push:
branches: [main]
branches: [main, actionsHub]
pull_request:
branches: [main]
workflow_call:
Expand All @@ -14,7 +14,10 @@ on:

jobs:
build:
runs-on: macos-11
strategy:
matrix:
os: [macos-12, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Get checkout directory
uses: haya14busa/action-cond@v1
Expand Down Expand Up @@ -60,7 +63,7 @@ jobs:
check-latest: true
cache: true
cache-dependency-path: ${{ steps.working-dir.outputs.value }}/go.sum
- uses: kenchan0130/actions-system-info@master
- uses: kenchan0130/actions-system-info@v1.3.0
id: system-info
- name: Cache asconfig
uses: actions/cache@v3
Expand All @@ -82,7 +85,7 @@ jobs:
run: |
sudo make install
asconfig --version 2>&1 | grep "Aerospike Config"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ runner.os }}-${{ steps.system-info.outputs.release }}-asconfig
path: ${{ steps.working-dir.outputs.value }}/bin/asconfig
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- name: Upload snyk results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: asconfig-snyk.txt
path: asconfig-snyk.txt

0 comments on commit 14171d6

Please sign in to comment.