-
Notifications
You must be signed in to change notification settings - Fork 236
51 lines (51 loc) · 1.8 KB
/
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
51
name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
debian:
name: build (Debian)
runs-on: ubuntu-latest
container: jforissier/optee_client_ci_debian
steps:
- name: Checkout
uses: actions/checkout@v3
- name: arm64 with make
run: make -j O=out-make-aarch64 CROSS_COMPILE=aarch64-linux-gnu-
- name: armhf with make
run: make -j O=out-make-armhf CROSS_COMPILE=arm-linux-gnueabihf-
- name: arm64 with cmake
run: |
set -e -v
mkdir out-cmake-aarch64 && cd out-cmake-aarch64
PKG_CONFIG=aarch64-linux-gnu-pkg-config cmake .. -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc
make -j
- name: armhf with cmake
run: |
set -e -v
mkdir out-cmake-armhf && cd out-cmake-armhf
PKG_CONFIG=arm-linux-gnueabihf-pkg-config cmake .. -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc
make -j
ubuntu:
name: build (Ubuntu)
runs-on: ubuntu-latest
container: jforissier/optee_client_ci_ubuntu
steps:
- name: Checkout
uses: actions/checkout@v3
- name: arm64 with make
run: make -j O=out-make-aarch64 CROSS_COMPILE=aarch64-linux-gnu-
- name: armhf with make
run: make -j O=out-make-armhf CROSS_COMPILE=arm-linux-gnueabihf-
- name: arm64 with cmake
run: |
set -e -v
mkdir out-cmake-aarch64 && cd out-cmake-aarch64
PKG_CONFIG=aarch64-linux-gnu-pkg-config cmake .. -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc
make -j
- name: armhf with cmake
run: |
set -e -v
mkdir out-cmake-armhf && cd out-cmake-armhf
PKG_CONFIG=arm-linux-gnueabihf-pkg-config cmake .. -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc
make -j