mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07: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]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
@ -8,8 +8,6 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Brew python bug workaround
|
|
||||||
run: brew link --overwrite python
|
|
||||||
- name: Update brew repos
|
- name: Update brew repos
|
||||||
run: brew update
|
run: brew update
|
||||||
- name: Tap RfidResearchGroup/proxmark3
|
- name: Tap RfidResearchGroup/proxmark3
|
Loading…
Add table
Add a link
Reference in a new issue