Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit a899f0d

Browse files
committed
ci: 支持 electron 18
wilix-team#363
1 parent 18fb90c commit a899f0d

File tree

4 files changed

+1542
-171
lines changed

4 files changed

+1542
-171
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
- name: Setup Linux Dependencies
2828
if: startsWith(matrix.os, 'ubuntu')
2929
run: |
30-
sudo apt-get install -y software-properties-common libx11-dev libxtst-dev libxt-dev libx11-xcb-dev libxkbcommon-dev libxkbcommon-x11-dev xorg-dev libxcb-xkb-dev libxkbfile-dev libxinerama-dev
30+
sudo apt-get update && sudo apt-get install -y software-properties-common libx11-dev libxtst-dev libxt-dev libx11-xcb-dev libxkbcommon-dev libxkbcommon-x11-dev xorg-dev libxcb-xkb-dev libxkbfile-dev libxinerama-dev
3131
3232
- name: Install Packages
3333
run: npm i --ignore-scripts
3434

3535
- name: Build
36-
run: npm run build -- --all --msvs_version=2019
36+
run: npm run build -- --all --msvs_version=2022
3737
env:
3838
ARCH: ${{ matrix.arch }}
3939

build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ function build(runtime, version, abi) {
138138
'rebuild',
139139
'--target=' + version,
140140
'--arch=' + arch,
141+
'--openssl_fips=X',
141142
];
142143

143144
if (/^electron/i.test(runtime)) {

0 commit comments

Comments
 (0)