-
Notifications
You must be signed in to change notification settings - Fork 1
87 lines (69 loc) · 2.45 KB
/
build-dep-openssl.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Build dependancy OpenSSL
on:
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- uses: ilammy/setup-nasm@v1
#- name: Install winget
# uses: Cyberboss/install-winget@v1
#- name: Install nasm
# run: winget install -e --id NASM.NASM
#- name: Download nasm
# uses: https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip
#- name: Choco install nasm
# uses: crazy-max/ghaction-chocolatey@v3
# with:
# args: install nasm
- name: Run build script
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/
run: ./build_openssl_for_win64.bat
- name: Archive prebuilt openssl windows
uses: actions/upload-artifact@v3
with:
name: prebuilt-openssl-windows
path: ${{ github.workspace }}/externals/prebuilt/win64_openssl
build-linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Run build script
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/
run: ./build_openssl_for_linux.sh
- name: Archive prebuilt linux
uses: actions/upload-artifact@v3
with:
name: prebuilt-openssl-linux
path: ${{ github.workspace }}/externals/prebuilt/linux_openssl_3.2.1
build-android:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Run android build script
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/
run: ./build_openssl_for_andV8.sh
- name: Archive prebuilt andV8
uses: actions/upload-artifact@v3
with:
name: prebuilt-openssl-andV8
path: ${{ github.workspace }}/externals/prebuilt/andV8_openssl_3.2.1
build-macos:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Run build script intel
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/
run: arch -x86_64 ./build_openssl_for_mac64_and_iosV8.sh
- name: Archive prebuilt openssl intel
uses: actions/upload-artifact@v3
with:
name: prebuilt-openssl-mac64
path: ${{ github.workspace }}/externals/prebuilt/mac64_openssl_3.2.1
- name: Archive prebuilt openssl ios
uses: actions/upload-artifact@v3
with:
name: prebuilt-openssl-ios
path: ${{ github.workspace }}/externals/prebuilt/iosV8_openssl_3.2.1