Move the core files to a core directory #194
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: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build_nogui: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Qt | |
run: sudo apt-get update && sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5serialport5-dev libqt5websockets5-dev | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: qmake NOGUI | |
run: qmake QUSB2SNES_NOGUI=1 CONFIG+='release' | |
- name: make | |
run: make | |
- name: check no libQt5Gui.so/libGL.so | |
run: ldd QUsb2Snes | ( ! grep --silent -e "libQt5Gui\.so" -e "libGL\.so" ) | |
build_gui: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Qt | |
run: sudo apt-get update && sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5serialport5-dev libqt5websockets5-dev | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: qmake | |
run: qmake CONFIG+='release' | |
- name: make | |
run: make | |
- name: check libQt5Gui.so/libGL.so | |
run: ldd QUsb2Snes | grep --silent -e "libQt5Gui\.so" -e "libGL\.so" | |
build_file2snes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Qt | |
run: sudo apt-get update && sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5serialport5-dev libqt5websockets5-dev | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: qmake | |
working-directory: QFile2Snes | |
run: qmake CONFIG+='release' | |
- name: make | |
working-directory: QFile2Snes | |
run: make | |
build_clazy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Qt | |
run: sudo apt-get update && sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5serialport5-dev libqt5websockets5-dev clazy | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: qmake clazy | |
run: qmake -spec linux-clang QMAKE_CXX="clazy" CONFIG+='release' | |
- name: make | |
run: make |