This repository has been archived by the owner on Oct 5, 2024. It is now read-only.
Merge pull request #433 from hotosm/docs/mkdocs #1467
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: 🧪 Build and Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Relies on the master branch built docker image for build-deps | |
- name: Start Docker Compose | |
run: cd docker && docker-compose up -d | |
- name: Build Underpass Library and Binaries | |
run: docker-compose -f docker-compose.yml exec -T underpass sh -c "cd /code && ./autogen.sh && mkdir build && cd build && ../configure && make -j `nproc`" | |
# Temporary disabled (FIXME) | |
# - name: Build and Run Underpass Tests (broken - it never fails) | |
# run: docker-compose -f docker-compose.yml exec -T underpass sh -c "cd /code/build && make check -j `nproc`" | |