forked from p2pderivatives/cfd
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #360 from cryptogarageinc/feature/arm-build
feat: arm build
- Loading branch information
Showing
7 changed files
with
100 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
build | ||
node_modules | ||
external/cfd-core | ||
external/googletest | ||
external/libwally-core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
FROM node | ||
FROM --platform=$TARGETPLATFORM debian:bullseye-slim | ||
|
||
RUN apt-get update && apt-get install -y build-essential python | ||
RUN git clone https://github.com/Kitware/CMake.git /tmp/cmake | ||
WORKDIR /tmp/cmake | ||
RUN git checkout tags/v3.14.2 \ | ||
&& ./bootstrap \ | ||
&& make \ | ||
&& make install | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends git cmake build-essential \ | ||
&& apt-get -y clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir /opt/cfd | ||
WORKDIR /opt/cfd | ||
COPY . . | ||
RUN git config --global http.sslverify false | ||
|
||
# build | ||
RUN npm install && npm run cmake_all | ||
WORKDIR /workspace | ||
COPY . . | ||
|
||
# test | ||
RUN npm run ctest | ||
# build & | ||
RUN ./tools/simple_build.sh \ | ||
&& ./tools/simple_test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CFD_VERSION=0.4.5 | ||
CFDCORE_TARGET_VERSION=refs/tags/v0.4.4 | ||
LIBWALLY_TARGET_VERSION=refs/tags/cfd-0.4.7 | ||
CFD_VERSION=0.4.6 | ||
CFDCORE_TARGET_VERSION=refs/tags/v0.4.5 | ||
LIBWALLY_TARGET_VERSION=refs/tags/cfd-0.4.8 | ||
CFDCORE_TARGET_URL=cryptogarageinc/cfd-core.git |