-
Notifications
You must be signed in to change notification settings - Fork 65
/
tvos.yml
46 lines (43 loc) · 1.29 KB
/
tvos.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
--- # ceedling project file for iOS
:import:
- 3rd_party_deps.yml
- unix.yml
:release_build:
:output: libhelium.a
:dependencies:
:libraries:
- :name: liboqs
:source_path: third_party/liboqs
:artifact_path: third_party/liboqs/build_universal
:fetch:
:method: :git
:source: $HE_LIBOQS_SOURCE
:tag: $HE_LIBOQS_TAG
:build:
- cp ../../cmake/apple.cmake ./apple.cmake
- cp ../../ios/liboqs-helper.sh ./liboqs-helper.sh
- "./liboqs-helper.sh -appletvuniversal"
:artifacts:
:includes:
- include
:static_libraries:
- lib/liboqs.a
- :name: WolfSSL
:source_path: third_party/wolfssl
:artifact_path: third_party/builds/wolfssl_tvos
:fetch:
:method: :git
:source: $HE_WOLFSSL_SOURCE
:tag: $HE_WOLFSSL_TAG
:build:
- git apply ../../wolfssl/fix-falcon-dilithm-flags.patch
- autoreconf -i
- cp ../../ios/autotools-ios-helper.sh ./autotools-ios-helper.sh
- PREFIX=$(pwd)/../builds/wolfssl_tvos ./autotools-ios-helper.sh -appletvuniversal
:artifacts:
:includes:
- include/**
:static_libraries:
- Release-tvos-universal/lib/libwolfssl.a
:environment:
- MACOSX_DEPLOYMENT_TARGET: "15.0"