Skip to content

Commit 4f6db56

Browse files
committed
Move from Ubuntu 16.04 -> 18.04
C++17 required, Ubuntu 16.04 EOL
1 parent bb19995 commit 4f6db56

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/rebuildElectron.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,17 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
runs-on: ubuntu-latest
14-
container: ubuntu:16.04
14+
container: ubuntu:18.04
1515
steps:
1616
- name: Print Tag Ref
1717
run: echo ${{ github.ref }}
1818

1919
- name: Install Dependencies for Ubuntu
2020
# git >= 2.18 required for actions/checkout git support
21-
run: apt update && apt install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && apt update && apt install -y git wget build-essential clang python3 libkrb5-dev libc++-dev zlib1g-dev
21+
run: apt update && apt install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && apt update && apt install -y git wget build-essential clang python3 libkrb5-dev libc++-dev zlib1g-dev libssl-dev
2222
env:
2323
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
2424

25-
- name: Setup python 3.6
26-
env:
27-
CC: clang
28-
CXX: clang++
29-
run: |
30-
mkdir ~/python
31-
cd ~/python
32-
wget https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tgz
33-
tar -xvf Python-3.6.15.tgz
34-
cd Python-3.6.15
35-
./configure
36-
make
37-
make install
38-
3925
- uses: actions/checkout@v2
4026

4127
- name: Use Node.js 12.x
@@ -50,10 +36,6 @@ jobs:
5036
- name: Set npm config
5137
run: npm config set unsafe-perm true
5238

53-
# 16.04 comes with 1.0.2
54-
- name: Install OpenSSL 1.1.1s
55-
run: sh -c 'cd /tmp && wget https://www.openssl.org/source/openssl-1.1.1s.tar.gz && wget https://www.openssl.org/source/openssl-1.1.1s.tar.gz.sha256 && echo "$(cat openssl-1.1.1s.tar.gz.sha256) openssl-1.1.1s.tar.gz" | sha256sum -c && tar xvf openssl-1.1.1s.tar.gz && cd openssl-1.1.1s && ./config no-ssl2 no-ssl3 no-comp && make && make test && make install'
56-
5739
- run: git config --global --add safe.directory /__w/electron-npg-automator/electron-npg-automator
5840
- run: npm install
5941
- run: npm run compile

0 commit comments

Comments
 (0)