mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
ci: fix nightly build
This commit is contained in:
parent
a74bbef74c
commit
2f6b4de3e9
46
.github/workflows/nightly_build.yml
vendored
46
.github/workflows/nightly_build.yml
vendored
@ -10,9 +10,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
id: make_dist
|
id: make_dist
|
||||||
@ -28,14 +28,14 @@ jobs:
|
|||||||
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
||||||
|
|
||||||
- name: Upload archive artefact
|
- name: Upload archive artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Linux_amd64_archive
|
name: Linux_amd64_archive
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
|
||||||
- name: Upload checksum artefact
|
- name: Upload checksum artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Linux_amd64_checksum
|
name: Linux_amd64_checksum
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
||||||
@ -54,9 +54,9 @@ jobs:
|
|||||||
sudo apt-get -qq -y install binfmt-support qemu-user-static
|
sudo apt-get -qq -y install binfmt-support qemu-user-static
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
id: make_dist
|
id: make_dist
|
||||||
@ -72,14 +72,14 @@ jobs:
|
|||||||
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
||||||
|
|
||||||
- name: Upload archive artefact
|
- name: Upload archive artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Linux_arm64_archive
|
name: Linux_arm64_archive
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
|
||||||
- name: Upload checksum artefact
|
- name: Upload checksum artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Linux_arm64_checksum
|
name: Linux_arm64_checksum
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
||||||
@ -90,9 +90,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
id: make_dist
|
id: make_dist
|
||||||
@ -108,14 +108,14 @@ jobs:
|
|||||||
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
||||||
|
|
||||||
- name: Upload archive artefact
|
- name: Upload archive artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Windows_amd64_archive
|
name: Windows_amd64_archive
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
|
||||||
- name: Upload checksum artefact
|
- name: Upload checksum artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Windows_amd64_checksum
|
name: Windows_amd64_checksum
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
||||||
@ -126,9 +126,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
id: make_dist
|
id: make_dist
|
||||||
@ -144,14 +144,14 @@ jobs:
|
|||||||
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
||||||
|
|
||||||
- name: Upload archive artefact
|
- name: Upload archive artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macOS_amd64_archive
|
name: macOS_amd64_archive
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
|
||||||
- name: Upload checksum artefact
|
- name: Upload checksum artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macOS_amd64_checksum
|
name: macOS_amd64_checksum
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
||||||
@ -162,9 +162,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
id: make_dist
|
id: make_dist
|
||||||
@ -180,14 +180,14 @@ jobs:
|
|||||||
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
echo "::set-output name=archive_dir::"${NEW_ARCHIVE_DIR}
|
||||||
|
|
||||||
- name: Upload archive artefact
|
- name: Upload archive artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macOS_arm64_archive
|
name: macOS_arm64_archive
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
path: ./dist/${{ steps.make_dist.outputs.archive }}
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
|
||||||
- name: Upload checksum artefact
|
- name: Upload checksum artefact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macOS_arm64_checksum
|
name: macOS_arm64_checksum
|
||||||
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum
|
||||||
@ -199,12 +199,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Download artefacts
|
- name: Download artefacts
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
|
|
||||||
- name: Create release notes
|
- name: Create release notes
|
||||||
run: |
|
run: |
|
||||||
|
12
docker/dist/entry_point.sh
vendored
12
docker/dist/entry_point.sh
vendored
@ -85,6 +85,8 @@ if [[ "${PLATFORM}" == "Windows_amd64" ]]; then
|
|||||||
|
|
||||||
build_rocksdb TARGET_OS=MINGW CXX="${CXX}"
|
build_rocksdb TARGET_OS=MINGW CXX="${CXX}"
|
||||||
|
|
||||||
|
make -j$(nproc) update
|
||||||
|
|
||||||
make \
|
make \
|
||||||
-j$(nproc) \
|
-j$(nproc) \
|
||||||
USE_LIBBACKTRACE=0 \
|
USE_LIBBACKTRACE=0 \
|
||||||
@ -131,6 +133,8 @@ elif [[ "${PLATFORM}" == "Linux_arm32v7" ]]; then
|
|||||||
|
|
||||||
build_rocksdb TARGET_ARCHITECTURE=arm CXX="${CXX}"
|
build_rocksdb TARGET_ARCHITECTURE=arm CXX="${CXX}"
|
||||||
|
|
||||||
|
make -j$(nproc) update
|
||||||
|
|
||||||
env CFLAGS="" make \
|
env CFLAGS="" make \
|
||||||
-j$(nproc) \
|
-j$(nproc) \
|
||||||
USE_LIBBACKTRACE=0 \
|
USE_LIBBACKTRACE=0 \
|
||||||
@ -150,6 +154,8 @@ elif [[ "${PLATFORM}" == "Linux_arm64v8" ]]; then
|
|||||||
|
|
||||||
build_rocksdb TARGET_ARCHITECTURE=arm64 CXX="${CXX}"
|
build_rocksdb TARGET_ARCHITECTURE=arm64 CXX="${CXX}"
|
||||||
|
|
||||||
|
make -j$(nproc) update
|
||||||
|
|
||||||
make \
|
make \
|
||||||
-j$(nproc) \
|
-j$(nproc) \
|
||||||
USE_LIBBACKTRACE=0 \
|
USE_LIBBACKTRACE=0 \
|
||||||
@ -177,6 +183,8 @@ elif [[ "${PLATFORM}" == "macOS_amd64" ]]; then
|
|||||||
|
|
||||||
build_rocksdb TARGET_OS=Darwin CXX="${CXX}" AR="${AR}"
|
build_rocksdb TARGET_OS=Darwin CXX="${CXX}" AR="${AR}"
|
||||||
|
|
||||||
|
make -j$(nproc) update
|
||||||
|
|
||||||
make \
|
make \
|
||||||
-j$(nproc) \
|
-j$(nproc) \
|
||||||
USE_LIBBACKTRACE=0 \
|
USE_LIBBACKTRACE=0 \
|
||||||
@ -217,6 +225,8 @@ elif [[ "${PLATFORM}" == "macOS_arm64" ]]; then
|
|||||||
|
|
||||||
build_rocksdb TARGET_OS=Darwin TARGET_ARCHITECTURE=arm64 CXX="${CXX}" AR="${AR}"
|
build_rocksdb TARGET_OS=Darwin TARGET_ARCHITECTURE=arm64 CXX="${CXX}" AR="${AR}"
|
||||||
|
|
||||||
|
make -j$(nproc) update
|
||||||
|
|
||||||
make \
|
make \
|
||||||
-j$(nproc) \
|
-j$(nproc) \
|
||||||
USE_LIBBACKTRACE=0 \
|
USE_LIBBACKTRACE=0 \
|
||||||
@ -249,6 +259,8 @@ else
|
|||||||
|
|
||||||
build_rocksdb
|
build_rocksdb
|
||||||
|
|
||||||
|
make -j$(nproc) update
|
||||||
|
|
||||||
make \
|
make \
|
||||||
-j$(nproc) \
|
-j$(nproc) \
|
||||||
LOG_LEVEL="TRACE" \
|
LOG_LEVEL="TRACE" \
|
||||||
|
@ -39,4 +39,3 @@ ls -l dist
|
|||||||
|
|
||||||
# We rebuild everything inside the container, so we need to clean up afterwards.
|
# We rebuild everything inside the container, so we need to clean up afterwards.
|
||||||
${MAKE} --no-print-directory clean
|
${MAKE} --no-print-directory clean
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user