update camlib #108
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 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 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Config | |
run: git config --global url."https://github.com/".insteadOf "[email protected]:" | |
- name: Get latest vcam | |
run: sudo bash -c "curl https://raw.githubusercontent.com/petabyt/vcam/master/install.sh | bash" | |
- 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 |