-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (45 loc) · 996 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: ci
on:
push:
branches:
- master
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: checkout
uses: actions/checkout@v3
with:
path: main
submodules: true
- name: checkout libarib25
uses: actions/checkout@v3
with:
repository: stz2012/libarib25
path: libarib25
- name: install deps
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y pcscd libpcsclite-dev libccid pcsc-tools cmake g++
- name: setup libarib25
working-directory: ./libarib25
run: |
mkdir build
- name: build libarib25
working-directory: ./libarib25/build
run: |
cmake ..
make
sudo make install
- name: build
working-directory: ./main
run: |
make
sudo make INSTALLDIR=/opt/auto_rec_mini install