Skip to content

Add clip quirks flag (#56) #91

Add clip quirks flag (#56)

Add clip quirks flag (#56) #91

Workflow file for this run

name: Build Test Coverage
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
DISPLAY: :0
steps:
- uses: actions/[email protected]
- name: make test
run: |
sudo apt-get update
sudo apt-get install xvfb libcunit1 libcunit1-dev libcunit1-doc
sudo apt-get install libsdl2-dev libportmidi-dev libswscale-dev libsdl2-mixer-2.0-0 libsdl2-mixer-dev
sudo apt-get install libavformat-dev libavcodec-dev libjpeg-dev libtiff5-dev libx11-6
sudo apt-get install libx11-dev xfonts-base xfonts-100dpi xfonts-75dpi
sudo apt-get install libsmpeg-dev xfonts-cyrillic
CFLAGS="-coverage -O0 -Wall -fprofile-arcs -ftest-coverage" xvfb-run --auto-servernum make test
gcov src/cpu.c
gcov src/screen.c
gcov src/keyboard.c
gcov src/memory.c
- name: Codecov
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}