-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (37 loc) · 966 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
name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt-get install -y liblz4-dev liblz4-1
sudo apt-get install -y libssl-dev libssl3
sudo apt-get install -y gcc-arm-linux-gnueabihf
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: build x86_64
run: |
make
make clean
- name: build x86_64 lz4
run: |
make COMPRESS_LZ4=1
make clean
- name: build x86_64 md5
run: |
make CHECKSUM_MD5=1
make clean
- name: build x86_64 lz4 md5 enc
run: |
make COMPRESS_LZ4=1 CHECKSUM_MD5=1 ENCRYPT=1
make clean
- name: build arm
run: |
make CROSS_COMPILE=arm-linux-gnueabihf-
make clean
- name: build arm64
run: |
make CROSS_COMPILE=aarch64-linux-gnu-
make clean