mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
workflow cleaning
This commit is contained in:
parent
b05b94f619
commit
12d700136f
5 changed files with 109 additions and 55 deletions
25
.github/workflows/macos.yml
vendored
25
.github/workflows/macos.yml
vendored
|
@ -12,6 +12,13 @@ jobs:
|
|||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
|
||||
- name: handle homebrew quirks
|
||||
run: |
|
||||
brew uninstall openssl@1.0.2t
|
||||
rm -rf /usr/local/etc/openssl
|
||||
rm -rf /usr/local/etc/openssl@1.1
|
||||
rm -rf /usr/local/bin/2to3
|
||||
|
||||
- name: Update brew repos
|
||||
run: brew update
|
||||
continue-on-error: true
|
||||
|
@ -44,6 +51,13 @@ jobs:
|
|||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
|
||||
- name: handle homebrew quirks
|
||||
run: |
|
||||
brew uninstall openssl@1.0.2t
|
||||
rm -rf /usr/local/etc/openssl
|
||||
rm -rf /usr/local/etc/openssl@1.1
|
||||
rm -rf /usr/local/bin/2to3
|
||||
|
||||
- name: Update brew repos
|
||||
run: brew update
|
||||
continue-on-error: true
|
||||
|
@ -77,6 +91,13 @@ jobs:
|
|||
- name: Set Git http.postBuffer to something high
|
||||
run: git config --global http.postBuffer 524288000
|
||||
|
||||
- name: handle homebrew quirks
|
||||
run: |
|
||||
brew uninstall openssl@1.0.2t
|
||||
rm -rf /usr/local/etc/openssl
|
||||
rm -rf /usr/local/etc/openssl@1.1
|
||||
rm -rf /usr/local/bin/2to3
|
||||
|
||||
- name: Update brew repos
|
||||
run: brew update
|
||||
continue-on-error: true
|
||||
|
@ -101,4 +122,6 @@ jobs:
|
|||
working-directory: client/build/
|
||||
|
||||
- name: Test
|
||||
run: make client/check CHECKARGS="--clientbin ./client/build/proxmark3"
|
||||
env:
|
||||
CHECKARGS: "--clientbin ./client/build/proxmark3"
|
||||
run: make client/check
|
||||
|
|
18
.github/workflows/ubuntu-cmake.yml
vendored
18
.github/workflows/ubuntu-cmake.yml
vendored
|
@ -1,18 +0,0 @@
|
|||
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
18
.github/workflows/ubuntu-make-btaddon.yml
vendored
|
@ -1,18 +0,0 @@
|
|||
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
18
.github/workflows/ubuntu-make.yml
vendored
|
@ -1,18 +0,0 @@
|
|||
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
|
85
.github/workflows/ubuntu.yml
vendored
Normal file
85
.github/workflows/ubuntu.yml
vendored
Normal file
|
@ -0,0 +1,85 @@
|
|||
name: Ubuntu Build and Test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-make:
|
||||
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: make clean
|
||||
run: make clean
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
V: 1
|
||||
run: make
|
||||
|
||||
- name: Test
|
||||
run: make check
|
||||
|
||||
build-make-btaddon:
|
||||
if: always()
|
||||
needs: [build-make]
|
||||
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: make clean
|
||||
run: make clean
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
V: 1
|
||||
PLATFORM_EXTRAS: BTADDON
|
||||
run: make
|
||||
|
||||
- name: Test
|
||||
run: make check
|
||||
|
||||
build-cmake:
|
||||
if: always()
|
||||
needs: [build-make, build-make-btaddon]
|
||||
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: Prepare Build Folders
|
||||
run: mkdir -p client/build
|
||||
|
||||
- name: Initiate cmake environment
|
||||
run: cmake ..
|
||||
working-directory: client/build/
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
VERBOSE: 1
|
||||
run: make
|
||||
working-directory: client/build/
|
||||
|
||||
- name: Test
|
||||
env:
|
||||
CHECKARGS: "--clientbin ./client/build/proxmark3"
|
||||
run: make client/check
|
Loading…
Add table
Add a link
Reference in a new issue