Skip to content

Commit 0c7975f

Browse files
committed
add builders
1 parent e59713a commit 0c7975f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build-builder-images.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,15 @@ jobs:
8686
make install && \
8787
ldconfig
8888
89-
# Clone NMEA2000 and build static library to /usr/local
90-
RUN git clone https://github.com/ttlappalainen/NMEA2000.git --depth 1 /usr/local/NMEA2000 && \
91-
cd /usr/local/NMEA2000/src && \
89+
# Clone NMEA2000 and build static library to /workspace
90+
WORKDIR /workspace
91+
RUN git clone https://github.com/ttlappalainen/NMEA2000.git --depth 1 && \
92+
cd NMEA2000/src && \
9293
g++ -O3 -c N2kMsg.cpp N2kStream.cpp N2kMessages.cpp N2kTimer.cpp NMEA2000.cpp \
9394
N2kGroupFunctionDefaultHandlers.cpp N2kGroupFunction.cpp -I. && \
9495
ar rcs libnmea2000.a *.o
9596
97+
9698
# Clean up build artifacts
9799
RUN rm -rf /tmp/build
98100

0 commit comments

Comments
 (0)