-
Notifications
You must be signed in to change notification settings - Fork 1
59 lines (49 loc) · 1.63 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
name: Build Openssl
on:
workflow_dispatch:
push:
branches:
- build-workflow
jobs:
build-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- name: Run build script
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/
run: ./build_openssl_for_win64.bat
- name: Archive prebuilt g2o
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_1.1.1h
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_1.1.1g
- name: Archive prebuilt openssl ios
uses: actions/upload-artifact@v3
with:
name: prebuilt-openssl-ios
path: ${{ github.workspace }}/externals/prebuilt/iosV8_openssl_1.1.1g