File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 48
48
run : brew install python-setuptools
49
49
- if : ${{ !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macos') }}
50
50
run : python3 -m pip install setuptools
51
+ - if : ${{ startsWith(matrix.os, 'ubuntu') }}
52
+ run : |
53
+ sudo apt update
54
+ sudo apt install gcc-10 g++-10 -y
55
+ 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
51
56
- run : npm install --ignore-scripts
52
57
- run : npm run build-debug
53
58
- run : npm test
@@ -101,6 +106,11 @@ jobs:
101
106
run : brew install python-setuptools
102
107
- if : ${{ !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macos') }}
103
108
run : python3 -m pip install setuptools
109
+ - if : ${{ startsWith(matrix.os, 'ubuntu') }}
110
+ run : |
111
+ sudo apt update
112
+ sudo apt install gcc-10 g++-10 -y
113
+ 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
104
114
- run : npm install --ignore-scripts
105
115
- run : ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
106
116
- run : ${{ env.ELECTRON_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments