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