Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 1 addition & 30 deletions .github/workflows/cmake-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:

- name: Configure CMake for Archon Interface
run: |
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
rm -rf *
cmake ..

- name: Build
Expand All @@ -34,32 +34,3 @@ jobs:
run: |
cd ${{github.workspace}}
bin/run_unit_tests

- name: Start Emulator
run: |
cd ${{github.workspace}}
bin/emulator Config/demo/demo.cfg -i generic &

- name: Start camera-daemon
run: |
cd ${{github.workspace}}
bin/camerad Config/demo/demo.cfg --foreground &

- name: Run E2E tests
run: |
cd ${{github.workspace}}
shopt -s expand_aliases
alias cam="bin/socksend -h localhost -p 3031"
function check { if [ $1 != "DONE" ]; then echo $1; exit 1; else echo $1; fi }

command_open=$(cam open)
check $command_open

command_load=$(cam load)
check $command_load

command_expose=$(cam expose)
check $command_expose

command_printstatus=$(cam printstatus)
check $command_printstatus
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.idea
.vscode
cmake-build*
/build/
/lib/
/bin/
4 changes: 0 additions & 4 deletions bin/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions build/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions lib/.gitignore

This file was deleted.