-
Notifications
You must be signed in to change notification settings - Fork 696
48 lines (41 loc) · 1.28 KB
/
build-openssl-packages.yml
File metadata and controls
48 lines (41 loc) · 1.28 KB
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: Build and Publish OpenSSL Packages
on:
workflow_dispatch:
jobs:
build-openssl:
name: Build OpenSSL package for (${{ matrix.os }} ${{ matrix.arch }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
arch: arm64
- os: windows-latest
arch: x64
- os: macos-15
arch: arm64
- os: macos-15-intel
arch: x64
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm install
- name: Build OpenSSL packages
env:
npm_config_arch: ${{ matrix.arch }}
NODEGIT_OPENSSL_BUILD_PACKAGE: 1
OPENSSL_MACOS_DEPLOYMENT_TARGET: "11.0"
run: node utils/acquireOpenSSL.mjs
- name: Push OpenSSL package to S3
env:
npm_config_arch: ${{ matrix.arch }}
node_pre_gyp_bucket: ${{ secrets.node_pre_gyp_bucket }}
AWS_ACCESS_KEY_ID: ${{ secrets.node_pre_gyp_accessKeyId }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.node_pre_gyp_secretAccessKey }}
run: node utils/uploadOpenSSL.mjs