File tree 1 file changed +6
-11
lines changed
1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 7
7
# - v*
8
8
9
9
10
- # OpenSSL
11
- # Instead of downloading binaries from somewhere, it is better to use Homebrew to install OpenSSL.
12
- # - name: Install OpenSSL
13
- # run: |
14
- # wget https://mac.r-project.org/bin/darwin20/arm64/openssl-1.1.1o-darwin.20-arm64.tar.xz
15
- # tar -xf openssl-1.1.1o-darwin.20-arm64.tar.xz -C /tmp
16
- # rm -rf openssl-1.1.1o-darwin.20-arm64.tar.xz
17
-
18
-
19
-
20
10
env :
21
11
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
22
12
30
20
steps :
31
21
- uses : actions/checkout@v4
32
22
- name : Install OpenSSL
33
- run : HOMEBREW_NO_INSTALL_CLEANUP=1 brew reinstall openssl@3
23
+ run : |
24
+ wget https://mac.r-project.org/bin/darwin20/arm64/openssl-1.1.1t-darwin.20-arm64.tar.xz
25
+ tar -xf openssl-1.1.1t-darwin.20-arm64.tar.xz -C /tmp
26
+ rm -rf openssl-1.1.1t-darwin.20-arm64.tar.xz
34
27
- name : Use Node.js ${{ matrix.node-version }}
35
28
uses : actions/setup-node@v4
36
29
with :
41
34
node_modules/.bin/prebuild -r napi --backend cmake-js --arch arm64 --upload -u ${{ secrets.GITHUB_TOKEN }} -- --CDCMAKE_OSX_ARCHITECTURES="arm64"
42
35
env :
43
36
CI : true
37
+ OPENSSL_ROOT_DIR : /tmp/opt/R/arm64
38
+ OPENSSL_LIBRARIES : /tmp/opt/R/arm64/lib
You can’t perform that action at this time.
0 commit comments