mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-02 13:28:14 +08:00
Merge pull request #1158 from aveao/github-actions
Introduce Github Actions for macOS and Linux
This commit is contained in:
commit
1884510753
6 changed files with 114 additions and 0 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
|
20
.github/workflows/macos-make.yml
vendored
Normal file
20
.github/workflows/macos-make.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: MacOS (make) 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
|
||||
- name: Test
|
||||
run: make check
|
18
.github/workflows/ubuntu-cmake.yml
vendored
Normal file
18
.github/workflows/ubuntu-cmake.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Ubuntu (cmake) Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update apt repos
|
||||
run: sudo apt-get update
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.2-dev liblua5.2-0-dbg liblua5.2-0 lua5.2 sed
|
||||
- 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"
|
18
.github/workflows/ubuntu-make-btaddon.yml
vendored
Normal file
18
.github/workflows/ubuntu-make-btaddon.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Ubuntu (make with BTADDON) Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update apt repos
|
||||
run: sudo apt-get update
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.2-dev liblua5.2-0-dbg liblua5.2-0 lua5.2 sed
|
||||
- name: Build
|
||||
run: make clean && make V=1 PLATFORM_EXTRAS=BTADDON
|
||||
- name: Test
|
||||
run: make check
|
18
.github/workflows/ubuntu-make.yml
vendored
Normal file
18
.github/workflows/ubuntu-make.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Ubuntu (make) Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update apt repos
|
||||
run: sudo apt-get update
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.2-dev liblua5.2-0-dbg liblua5.2-0 lua5.2 sed
|
||||
- name: Build
|
||||
run: make clean && make V=1
|
||||
- name: Test
|
||||
run: make check
|
Loading…
Reference in a new issue