Skip to content

Commit

Permalink
fix build deps on ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jun 14, 2021
1 parent f6c6881 commit 87d5990
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ jobs:
runs-on: ${{ matrix.system }}
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v2
- name: install git
- name: install deps
if: matrix.container == 'ubuntu:18.04'
run: |
apt update -y
apt install software-properties-common -y
apt install -y software-properties-common
add-apt-repository ppa:git-core/ppa
apt -y update && apt install -y git
apt update -y
apt install -y git fontconfig make gcc pkg-config
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
if:
matrix.container == 'ubuntu:18.04' || matrix.system ==
Expand Down Expand Up @@ -54,8 +55,6 @@ jobs:
if [ "$CML_VER" == '0.3.0' ]; then
exit 1
fi
- if: matrix.container == 'ubuntu:18.04'
run: apt install --yes fontconfig
- name: test CML
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

4 comments on commit 87d5990

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

Please sign in to comment.