proxmark3/.github/workflows/ubuntu-cmake.yml

19 lines
739 B
YAML
Raw Normal View History

name: Ubuntu (cmake) Build and Test
2021-01-04 08:32:59 +08:00
on: [push, pull_request]
jobs:
build-and-test:
2021-01-04 08:32:59 +08:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt repos
run: sudo apt-get update
- name: Install dependencies
2021-01-04 08:44:41 +08:00
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
2021-01-04 08:57:05 +08:00
- name: Build
run: mkdir -p client/build && ( cd client/build && cmake .. && make VERBOSE=1 )
2021-01-04 08:57:05 +08:00
- name: Test
run: make client/check CHECKARGS="--clientbin ./client/build/proxmark3"