mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-05-21 00:59:25 +00:00
Build pol-dev-mode binaries in artifact and slim smoke job
This commit is contained in:
parent
bda0d91b6b
commit
c8a442919d
8
.github/workflows/build-binaries.yml
vendored
8
.github/workflows/build-binaries.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
|
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
RUSTFLAGS: -C debuginfo=0
|
RUSTFLAGS: -C debuginfo=0 --cfg feature="pol-dev-mode"
|
||||||
CARGO_TARGET_DIR: ${{ github.workspace }}/.tmp/nomos-target
|
CARGO_TARGET_DIR: ${{ github.workspace }}/.tmp/nomos-target
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -36,6 +36,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./scripts/setup-nomos-circuits.sh v0.3.1 "$NOMOS_CIRCUITS"
|
./scripts/setup-nomos-circuits.sh v0.3.1 "$NOMOS_CIRCUITS"
|
||||||
echo "NOMOS_CIRCUITS=$NOMOS_CIRCUITS" >> "$GITHUB_ENV"
|
echo "NOMOS_CIRCUITS=$NOMOS_CIRCUITS" >> "$GITHUB_ENV"
|
||||||
|
- name: Add top-level KZG params file
|
||||||
|
run: |
|
||||||
|
curl -fsSL "https://raw.githubusercontent.com/logos-co/nomos-node/${NOMOS_NODE_REV}/tests/kzgrs/kzgrs_test_params" \
|
||||||
|
-o "${NOMOS_CIRCUITS}/kzgrs_test_params"
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: nightly-2025-09-14
|
toolchain: nightly-2025-09-14
|
||||||
@ -58,7 +62,7 @@ jobs:
|
|||||||
git checkout "${NOMOS_NODE_REV}"
|
git checkout "${NOMOS_NODE_REV}"
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git clean -fdx
|
git clean -fdx
|
||||||
cargo +nightly-2025-09-14 build --features "testing,pol-dev-mode" --bins
|
cargo +nightly-2025-09-14 build --features testing --bins
|
||||||
- name: Package binaries
|
- name: Package binaries
|
||||||
run: |
|
run: |
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|||||||
13
.github/workflows/lint.yml
vendored
13
.github/workflows/lint.yml
vendored
@ -212,19 +212,6 @@ jobs:
|
|||||||
echo "Circuits bundle missing in nomos-binaries tarball" >&2
|
echo "Circuits bundle missing in nomos-binaries tarball" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Build nomos binaries with pol-dev-mode
|
|
||||||
env:
|
|
||||||
RUSTFLAGS: '--cfg feature="pol-dev-mode"'
|
|
||||||
NOMOS_CIRCUITS: ${{ env.NOMOS_CIRCUITS }}
|
|
||||||
run: |
|
|
||||||
TARGET_DIR="${CARGO_TARGET_DIR:-target}"
|
|
||||||
cargo +nightly-2025-09-14 build -p nomos-node -p nomos-executor -p nomos-cli --features testing
|
|
||||||
sudo cp "${TARGET_DIR}/debug/nomos-node" /usr/local/bin/
|
|
||||||
sudo cp "${TARGET_DIR}/debug/nomos-executor" /usr/local/bin/
|
|
||||||
sudo cp "${TARGET_DIR}/debug/nomos-cli" /usr/local/bin/
|
|
||||||
sudo chmod +x /usr/local/bin/nomos-node /usr/local/bin/nomos-executor /usr/local/bin/nomos-cli
|
|
||||||
echo "NOMOS_NODE_BIN=/usr/local/bin/nomos-node" >> "$GITHUB_ENV"
|
|
||||||
echo "NOMOS_EXECUTOR_BIN=/usr/local/bin/nomos-executor" >> "$GITHUB_ENV"
|
|
||||||
- name: Download KZG params for DA (raw)
|
- name: Download KZG params for DA (raw)
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$(dirname "${NOMOS_KZGRS_PARAMS_PATH}")"
|
mkdir -p "$(dirname "${NOMOS_KZGRS_PARAMS_PATH}")"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user