Skip to content

Commit 6757569

Browse files
authored
Remove build artifacts and ignore them (#71)
* Remove build artifacts and ignore them * fix git workflow * remove e2e tests
1 parent 2637fc4 commit 6757569

File tree

5 files changed

+4
-42
lines changed

5 files changed

+4
-42
lines changed

.github/workflows/cmake-workflow.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020

2121
- name: Configure CMake for Archon Interface
2222
run: |
23+
mkdir ${{github.workspace}}/build
2324
cd ${{github.workspace}}/build
24-
rm -rf *
2525
cmake ..
2626
2727
- name: Build
@@ -34,32 +34,3 @@ jobs:
3434
run: |
3535
cd ${{github.workspace}}
3636
bin/run_unit_tests
37-
38-
- name: Start Emulator
39-
run: |
40-
cd ${{github.workspace}}
41-
bin/emulator Config/demo/demo.cfg -i generic &
42-
43-
- name: Start camera-daemon
44-
run: |
45-
cd ${{github.workspace}}
46-
bin/camerad Config/demo/demo.cfg --foreground &
47-
48-
- name: Run E2E tests
49-
run: |
50-
cd ${{github.workspace}}
51-
shopt -s expand_aliases
52-
alias cam="bin/socksend -h localhost -p 3031"
53-
function check { if [ $1 != "DONE" ]; then echo $1; exit 1; else echo $1; fi }
54-
55-
command_open=$(cam open)
56-
check $command_open
57-
58-
command_load=$(cam load)
59-
check $command_load
60-
61-
command_expose=$(cam expose)
62-
check $command_expose
63-
64-
command_printstatus=$(cam printstatus)
65-
check $command_printstatus

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.idea
22
.vscode
33
cmake-build*
4+
/build/
5+
/lib/
6+
/bin/

bin/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

build/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

lib/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)