mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-12-12 20:36:29 +01:00
Move linux build setup to a script so we can install newer NodeJS
This commit is contained in:
17
.github/workflows/build-linux-setup.sh
vendored
Executable file
17
.github/workflows/build-linux-setup.sh
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get update -y
|
||||
apt install -y software-properties-common
|
||||
apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
|
||||
apt install -y gcc-8 g++-8 autoconf automake build-essential clang cmake execstack fakeroot g++-5 git libc-ares-dev libctemplate-dev curl libglib2.0-dev libgnome-keyring-dev libicu-dev libsasl2-dev libsasl2-modules libsasl2-modules-gssapi-mit libsecret-1-dev libssl-dev libnss3 libnss3-dev libtidy-dev libtool libxext-dev libxkbfile-dev libxml2-dev libxtst-dev rpm uuid-dev xvfb
|
||||
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
nvm install 16.15.1
|
||||
nvm alias default 16.15.1
|
||||
|
||||
export PATH="$PATH:$(dirname $(nvm which current))"
|
||||
10
.github/workflows/build-linux.yaml
vendored
10
.github/workflows/build-linux.yaml
vendored
@@ -10,16 +10,12 @@ jobs:
|
||||
container: ubuntu:18.04
|
||||
|
||||
steps:
|
||||
- name: Install deps
|
||||
run: |
|
||||
apt-get update -y
|
||||
apt install -y software-properties-common
|
||||
apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
|
||||
apt install -y nodejs autoconf automake build-essential clang cmake execstack fakeroot g++-5 git libc-ares-dev libctemplate-dev libcurl4-openssl-dev libglib2.0-dev libgnome-keyring-dev libicu-dev libsasl2-dev libsasl2-modules libsasl2-modules-gssapi-mit libsecret-1-dev libssl-dev libnss3 libnss3-dev libtidy-dev libtool libxext-dev libxkbfile-dev libxml2-dev libxtst-dev rpm uuid-dev xvfb
|
||||
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install deps
|
||||
run: .github/workflows/build-linux-setup.sh
|
||||
|
||||
- name: Cache NodeJS modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
2
mailsync
2
mailsync
Submodule mailsync updated: 1f640bb018...d756d8f55d
Reference in New Issue
Block a user