mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
merge macos jobs to 1 workflow, run 'em sequentially
This commit is contained in:
parent
1fb17aad3f
commit
0bc2bbef52
4 changed files with 62 additions and 66 deletions
22
.github/workflows/macos-cmake.yaml
vendored
22
.github/workflows/macos-cmake.yaml
vendored
|
@ -1,22 +0,0 @@
|
|||
name: MacOS (cmake) Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
- 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"
|
22
.github/workflows/macos-make-btaddon.yml
vendored
22
.github/workflows/macos-make-btaddon.yml
vendored
|
@ -1,22 +0,0 @@
|
|||
name: MacOS (make with BTADDON) Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
- 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
|
22
.github/workflows/macos-make.yml
vendored
22
.github/workflows/macos-make.yml
vendored
|
@ -1,22 +0,0 @@
|
|||
name: MacOS (make) Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
- 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
|
||||
- name: Test
|
||||
run: make check
|
62
.github/workflows/macos.yml
vendored
Normal file
62
.github/workflows/macos.yml
vendored
Normal file
|
@ -0,0 +1,62 @@
|
|||
name: MacOS Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-make:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
- 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
|
||||
- name: Test
|
||||
run: make check
|
||||
|
||||
build-make-btaddon:
|
||||
if: always()
|
||||
needs: [build-make]
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
- 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
|
||||
|
||||
build-cmake:
|
||||
if: always()
|
||||
needs: [build-make, build-make-btaddon]
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
- 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"
|
Loading…
Reference in a new issue