mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
build storage-daemon and storage-daemon-cli binaries
This commit is contained in:
parent
1f36bbe524
commit
bb5f332d8a
2 changed files with 4 additions and 2 deletions
4
.github/script/amd64-18.04.Dockerfile
vendored
4
.github/script/amd64-18.04.Dockerfile
vendored
|
@ -6,7 +6,9 @@ RUN apt install -y build-essential cmake clang openssl libssl-dev zlib1g-dev gpe
|
|||
|
||||
WORKDIR /
|
||||
|
||||
RUN git clone --recurse-submodules https://github.com/ton-blockchain/ton.git && cd ton && git checkout $branch
|
||||
ARG BRANCH
|
||||
ARG BRANCH_PARAM=$BRANCH
|
||||
RUN git clone --recurse-submodules https://github.com/ton-blockchain/ton.git && cd ton && git checkout $BRANCH_PARAM
|
||||
|
||||
WORKDIR /ton
|
||||
RUN mkdir /ton/build
|
||||
|
|
2
.github/workflows/docker-compile-ubuntu.yml
vendored
2
.github/workflows/docker-compile-ubuntu.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
run: |
|
||||
mkdir build-${{matrix.ver}}-${{matrix.arch}}
|
||||
|
||||
echo docker buildx build --build-arg branch=${{ steps.vars.outputs.short_ref }} --platform=linux/${{matrix.arch}} --progress=plain --load . -t build-${{matrix.ver}}-${{matrix.arch}} -f .github/script/${{matrix.arch}}-${{matrix.ver}}.Dockerfile
|
||||
echo docker buildx build --build-arg BRANCH=${{ steps.vars.outputs.short_ref }} --platform=linux/${{matrix.arch}} --progress=plain --load . -t build-${{matrix.ver}}-${{matrix.arch}} -f .github/script/${{matrix.arch}}-${{matrix.ver}}.Dockerfile
|
||||
docker buildx build --build-arg branch=${GITHUB_REF##*/} --platform=linux/${{matrix.arch}} --progress=plain --load . -t build-${{matrix.ver}}-${{matrix.arch}} -f .github/script/${{matrix.arch}}-${{matrix.ver}}.Dockerfile
|
||||
container_id=$(docker create --platform=linux/${{matrix.arch}} build-${{matrix.ver}}-${{matrix.arch}})
|
||||
docker cp $container_id:/ton/build/dht-server/dht-server build-${{matrix.ver}}-${{matrix.arch}}/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue