Move green color translation formula one step away from cyan #775
Workflow file for this run
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: | |
branches: | |
- "master" | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: | |
- "master" | |
paths-ignore: | |
- "**.md" | |
- "**.yml" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
compiler: [clang, gcc] | |
os: [ubuntu-latest] | |
steps: | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install libfluidsynth-dev libpng-dev libsamplerate0-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev ninja-build | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: CMake | |
env: | |
CC: ${{ matrix.compiler }} | |
run: cmake -S . -B build -G Ninja && ninja -C build | |
- name: Make | |
env: | |
CC: ${{ matrix.compiler }} | |
run: $GITHUB_WORKSPACE/.travis.sh | |
cppcheck: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install cppcheck | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Run cppcheck | |
env: | |
ANALYZE: true | |
run: $GITHUB_WORKSPACE/.travis.sh |