diff --git a/.github/workflows/cmake-workflow.yml b/.github/workflows/cmake-workflow.yml index f10b186f..9a6be648 100644 --- a/.github/workflows/cmake-workflow.yml +++ b/.github/workflows/cmake-workflow.yml @@ -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 @@ -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 diff --git a/.gitignore b/.gitignore index f096120f..503b9378 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ .idea .vscode cmake-build* +/build/ +/lib/ +/bin/ diff --git a/bin/.gitignore b/bin/.gitignore deleted file mode 100644 index 5e7d2734..00000000 --- a/bin/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index 5e7d2734..00000000 --- a/build/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore diff --git a/lib/.gitignore b/lib/.gitignore deleted file mode 100644 index 5e7d2734..00000000 --- a/lib/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore