Add initial version of compose-based variant #149
This file contains hidden or 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: Test suite | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install deps | |
run: sudo apt update && sudo apt install gcc g++ git cmake liblua5.3-dev libusb-1.0-0-dev curl libexif-dev ninja-build libfreetype-dev libvulkan-dev libglfw3-dev libxml2-dev libimgui-dev | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Config to use https in case ssh isn't setup | |
run: git config --global url."https://github.com/".insteadOf "[email protected]:" | |
- name: Get latest vcam | |
run: | | |
git clone https://github.com/petabyt/vcam --depth 1 --recurse-submodules /tmp/vcam | |
cd /tmp/vcam | |
sudo make install | |
- name: Compile desktop | |
run: cd desktop && cmake -G Ninja -B build && cmake --build build | |
- name: Run desktop unit test | |
run: desktop/build/fudge --test-wifi |