72
72
- prebuild
73
73
- prebuild-alpine
74
74
- prebuild-alpine-arm
75
+ - prebuild-linux-x64
75
76
- prebuild-linux-arm
76
77
steps :
77
78
- uses : actions/checkout@v4
89
90
fail-fast : false
90
91
matrix :
91
92
os :
92
- - ubuntu-22.04
93
93
- macos-13
94
94
- macos-14
95
95
- windows-2019
@@ -105,13 +105,6 @@ jobs:
105
105
run : pip.exe install setuptools
106
106
- if : ${{ startsWith(matrix.os, 'macos') }}
107
107
run : brew install python-setuptools
108
- - if : ${{ !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macos') }}
109
- run : python3 -m pip install setuptools
110
- - if : ${{ startsWith(matrix.os, 'ubuntu') }}
111
- run : |
112
- sudo apt update
113
- sudo apt install gcc-10 g++-10 -y
114
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
115
108
- run : npm install --ignore-scripts
116
109
- run : ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
117
110
- run : ${{ env.ELECTRON_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
@@ -122,10 +115,20 @@ jobs:
122
115
${{ env.ELECTRON_BUILD_CMD }} --arch ia32 -u ${{ secrets.GITHUB_TOKEN }}
123
116
${{ env.ELECTRON_BUILD_CMD }} --arch arm64 -u ${{ secrets.GITHUB_TOKEN }}
124
117
118
+ prebuild-linux-x64 :
119
+ if : ${{ github.event_name == 'release' }}
120
+ name : Prebuild on Linux x64
121
+ runs-on : ubuntu-latest
122
+ container : node:18-bullseye
123
+ needs : test
124
+ steps :
125
+ - uses : actions/checkout@v4
126
+ - run : npm install --ignore-scripts
127
+ - run : ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
128
+ - run : ${{ env.ELECTRON_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
129
+
125
130
prebuild-alpine :
126
131
if : ${{ github.event_name == 'release' }}
127
- strategy :
128
- fail-fast : false
129
132
name : Prebuild on alpine
130
133
runs-on : ubuntu-latest
131
134
container : node:18-alpine
0 commit comments