mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
github actions: Introduce build variants for macos too
This commit is contained in:
parent
96127e0da3
commit
4a6b2d4390
3 changed files with 41 additions and 3 deletions
20
.github/workflows/macos-cmake.yaml
vendored
Normal file
20
.github/workflows/macos-cmake.yaml
vendored
Normal 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"
|
20
.github/workflows/macos-make-btaddon.yml
vendored
Normal file
20
.github/workflows/macos-make-btaddon.yml
vendored
Normal 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
|
|
@ -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
|
Loading…
Reference in a new issue