Skip to content

Commit 347bbb4

Browse files
committed
Adding mock testing capability
1 parent 1033b63 commit 347bbb4

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.entrypoint.sh.swp

1 KB
Binary file not shown.

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ RUN cd /tools && \
4242

4343
ENV OPENOCD_PATH="/tools/openocd"
4444

45+
RUN mkdir -p /tools/cmocka
46+
RUN cd /tools/cmocka && \
47+
wget https://cmocka.org/files/1.1/cmocka-1.1.7.tar.xz && \
48+
tar -xvf cmocka-1.1.7.tar.xz && \
49+
cd cmocka-1.1.7 && mkdir -p build && cd build && \
50+
cmake .. && make && make install
51+
4552
RUN mkdir runner
4653
RUN cd runner && \
4754
curl -o actions-runner-linux-x64-2.320.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.320.0/actions-runner-linux-x64-2.320.0.tar.gz && \

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
echo $RUNNER_TOKEN
44

55
cd /runner && \
6-
./config.sh --url https://github.com/allegheny-college-cmpsc-200-fall-2024 --token $RUNNER_TOKEN
6+
./config.sh --url https://github.com/allegheny-college-cmpsc-200-fall-2024 --token $RUNNER_TOKEN &&
77
./run.sh &
88

99
/tools/openocd/src/openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s /tools/openocd/tcl -f /tools/openocd-helpers.tcl -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"

0 commit comments

Comments
 (0)