CI: Install build deps to workaround internet issues

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-12-08 14:39:11 +01:00
parent dd77b5eb12
commit bf736f8058
8 changed files with 43 additions and 0 deletions
@@ -39,6 +39,11 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
+5
View File
@@ -56,6 +56,11 @@ jobs:
INTEGRATION_TEST_AZURE_TOKEN: ${{ secrets.INTEGRATION_TEST_AZURE_TOKEN }}
steps:
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- uses: actions/checkout@v2
- name: fetch branch master
run: git fetch origin master
+6
View File
@@ -35,6 +35,12 @@ jobs:
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
steps:
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- uses: actions/checkout@v2
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
+5
View File
@@ -86,6 +86,11 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
+6
View File
@@ -45,6 +45,12 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
+6
View File
@@ -39,6 +39,12 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
@@ -41,6 +41,11 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
+5
View File
@@ -21,6 +21,11 @@ jobs:
NODE_OPTIONS: --max-old-space-size=4096
steps:
# https://github.com/Automattic/node-canvas/issues/1945
- name: Install dependencies to fix temporary issue in canvas build
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
- uses: actions/checkout@v2
- uses: actions/setup-python@v2