File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
- runs-on : gcc:9.3.0
11
+ runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v2
14
+ - name : Build environment
15
+ run : docker build -t espresso .
14
16
- name : Unit Tests
15
- run : ./runtest test/unit-tests/all.cpp
17
+ run : docker run --rm espresso test/unit-tests/all.cpp
16
18
- name : Integration Test - Blinker
17
- run : ./runtest test/integration-tests/blinker/blinker.spec.cpp
19
+ run : docker run --rm espresso test/integration-tests/blinker/blinker.spec.cpp
18
20
- name : Integration Test - Button LED
19
- run : ./runtest test/integration-tests/button-led/button-led.spec.cpp
21
+ run : docker run --rm espresso test/integration-tests/button-led/button-led.spec.cpp
20
22
- name : Integration Test - Debouncing
21
- run : ./runtest test/integration-tests/debouncing/debouncing.spec.cpp
23
+ run : docker run --rm espresso test/integration-tests/debouncing/debouncing.spec.cpp
22
24
- name : Integration Test - Game Buzzer
23
- run : ./runtest test/integration-tests/game-buzzer/game-buzzer.spec.cpp
25
+ run : docker run --rm espresso test/integration-tests/game-buzzer/game-buzzer.spec.cpp
24
26
- name : Integration Test - Multiplexing
25
- run : ./runtest test/integration-tests/multiplexing/multiplexing.spec.cpp
27
+ run : docker run --rm espresso test/integration-tests/multiplexing/multiplexing.spec.cpp
26
28
- name : Integration Test - Traffic Lights
27
- run : ./runtest test/integration-tests/traffic-lights/traffic-lights.spec.cpp
29
+ run : docker run --rm espresso test/integration-tests/traffic-lights/traffic-lights.spec.cpp
Original file line number Diff line number Diff line change
1
+ FROM gcc:9.3.0
2
+
3
+ WORKDIR /app
4
+ COPY . ./
5
+
6
+ ENTRYPOINT ["./runtest" ]
You can’t perform that action at this time.
0 commit comments