Fix variable names for dependencies in installation example (fix #242) #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-18.04, ubuntu-latest] | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Setup Vala PPA repository | |
run: sudo add-apt-repository --yes ppa:vala-team | |
- name: Update APT cache | |
run: sudo apt-get update --quiet | |
- name: Install dependencies | |
run: sudo apt-get install --yes valac libglib2.0-bin libglib2.0-dev libsoup2.4-dev libfcgi-dev gcovr libgee-0.8-dev libctpl-dev libjson-glib-dev libmemcached-dev libmarkdown2-dev liblua5.2-dev valgrind ninja-build | |
- name: Install Meson | |
run: pip3 install meson | |
- name: Build | |
run: | | |
mkdir build | |
meson -D b_coverage=true -D enable_examples=true . build | |
ninja -C build -v | |
- name: Test | |
run: | | |
meson test -C build --wrapper valgrind --print-errorlogs --num-processes=1 -v | |
DESTDIR=$(mktemp -d) ninja -C build -v install | |
# - name: Generate coverage reports | |
# run: ninja -C build -v coverage | |
# - name: Report coverage to Codecov | |
# uses: codecov/codecov-action@v2.1.0 | |
# with: | |
# directory: build | |
# fail_ci_if_error: true |