Add viewbox class and handle some input cases (#34) #277
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 | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install cmake clang-format | |
sudo apt-get install libpthread-stubs0-dev libgl1-mesa-dev libx11-dev libxrandr-dev libfreetype6-dev libjpeg8-dev libsndfile1-dev libopenal-dev libudev-dev libxinerama-dev libxcursor-dev libxi-dev | |
sudo apt-get install wine64 | |
sudo apt-get install gcc-mingw-w64 mingw-w64 | |
- name: Run clang-format | |
run: clang-format --dry-run --Werror src/**/*.*pp | |
- name: Run CMake | |
run: cmake -S. -Bbuild | |
- name: Run Make | |
run: make -Cbuild |