Skip to content

Commit

Permalink
Merge pull request #142 from Habbie/unbreak-build-dec2024
Browse files Browse the repository at this point in the history
fix 3 build problems
  • Loading branch information
cyclops1982 authored Dec 5, 2024
2 parents 97d4c94 + d8bf655 commit 79457fd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
# https://github.com/mesonbuild/meson/issues/13888 - CMake 3.31.0 causes breakage with cmake module due to --dependency-file
# https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20241112.1 - upgrades /usr/local/bin/cmake from 3.30.5 to 3.31.0
- name: Remove pre-installed cmake
run: sudo rm -f /usr/local/bin/cmake
- name: Update apt indexes
run: sudo apt-get update
- name: Install various apt dependencies
Expand Down
8 changes: 6 additions & 2 deletions scripts/build-targets/Dockerfile.armel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v5/debian:bookworm
FROM --platform=linux/arm/v5 debian:bookworm
RUN apt-get update
RUN apt-get -yy install \
build-essential \
Expand All @@ -9,6 +9,10 @@ RUN apt-get -yy install \
pkg-config \
libssl-dev \
python3-pip \
xxd
xxd \
tini
RUN pip install --break-system-packages meson
RUN git config --global --add safe.directory '*' # this makes meson's vcs_tag() work
ENV PYTHONUNBUFFERED=1
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/bin/sh"]
2 changes: 1 addition & 1 deletion scripts/build-targets/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
TARGET=$1
shift
docker run -v $(pwd):$(pwd) -w $(pwd) --rm voorkant-builder:$TARGET "$@"
docker run -i -v $(pwd):$(pwd) -w $(pwd) --rm voorkant-builder:$TARGET "$@"

0 comments on commit 79457fd

Please sign in to comment.