Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ftl-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
- platform: linux/arm64/v8
- platform: linux/riscv64
steps:
-
name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
detached: true
-
name: Prepare name for digest up/download
run: |
Expand Down
17 changes: 9 additions & 8 deletions ftl-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,13 @@ RUN sed -i '/buffer_with_truncation /d' /bats-core/libexec/bats-core/bats-format

# Test compile FTL's development branch, the result is removed from the final container
# Run the full test suite to ensure that the container is still capable of running the tests
RUN git clone https://github.com/pi-hole/FTL.git --branch "${GIT_BRANCH}" \
&& cd FTL \
&& bash build.sh "-DSTATIC=${STATIC}" \
WORKDIR /opt/FTL-build

RUN git clone https://github.com/pi-hole/FTL.git --branch "${GIT_BRANCH}" .

RUN bash build.sh "-DSTATIC=${STATIC}" \
&& readelf -A ./pihole-FTL \
&& readelf -l ./pihole-FTL \
&& bash test/arch_test.sh \
&& bash test/run.sh \
&& cd .. \
&& rm -r FTL
&& readelf -l ./pihole-FTL

RUN bash test/arch_test.sh \
&& bash test/run.sh
Loading