github actions: Introduce build variants for macos too

This commit is contained in:
Ave 2021-01-04 04:26:56 +03:00
parent 96127e0da3
commit 4a6b2d4390
3 changed files with 41 additions and 3 deletions

20
.github/workflows/macos-cmake.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
name: MacOS (cmake) Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Update brew repos
run: brew update
- name: Tap RfidResearchGroup/proxmark3
run: brew tap RfidResearchGroup/proxmark3
- name: Install dependencies
run: brew install readline qt5 RfidResearchGroup/proxmark3/arm-none-eabi-gcc
- name: Build
run: mkdir -p client/build && ( cd client/build && cmake .. && make VERBOSE=1 )
- name: Test
run: make client/check CHECKARGS="--clientbin ./client/build/proxmark3"

View file

@ -0,0 +1,20 @@
name: MacOS (make with BTADDON) Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Update brew repos
run: brew update
- name: Tap RfidResearchGroup/proxmark3
run: brew tap RfidResearchGroup/proxmark3
- name: Install dependencies
run: brew install readline qt5 RfidResearchGroup/proxmark3/arm-none-eabi-gcc
- name: Build
run: make clean && make V=1 PLATFORM_EXTRAS=BTADDON
- name: Test
run: make check

View file

@ -1,4 +1,4 @@
name: MacOS Build and Test
name: MacOS (make) Build and Test
on: [push, pull_request]
@ -8,8 +8,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Brew python bug workaround
run: brew link --overwrite python
- name: Update brew repos
run: brew update
- name: Tap RfidResearchGroup/proxmark3