Functional desktop app connecting/disconnecting #90
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: 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 install liblua5.3-dev libusb-1.0-0-dev | |
- name: Quick install libui-dev | |
run: | | |
sudo mkdir /usr/local/lib/x86_64-linux-gnu | |
sudo wget https://github.com/petabyt/libui-cross/releases/download/2/libui.so -O /usr/lib/libui.so | |
sudo wget https://raw.githubusercontent.com/libui-ng/libui-ng/master/ui.h -O /usr/local/include/ui.h | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Get latest vcam | |
run: curl https://raw.githubusercontent.com/petabyt/vcam/master/install.sh | bash | |
- name: Compile desktop | |
run: cd desktop && make TARGET=l fudge.out | |
- name: Run desktop unit test | |
run: desktop/fudge.out --test-wifi |