From 5d401f19dc6e84269a8806d22d1f271cc7bfd5c1 Mon Sep 17 00:00:00 2001 From: Anton Yemelyanov Date: Tue, 9 Jan 2024 06:27:17 +0200 Subject: [PATCH] wip - CI --- .github/workflows/ci.yaml | 19 ++++++++++--------- core/src/modules/block_dag.rs | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ef8c7ed..5c7cb51 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -317,7 +317,8 @@ jobs: if: ${{ runner.os == 'Linux' }} uses: awalsh128/cache-apt-pkgs-action@v1 with: - packages: musl-tools libglib2.0-dev libatk1.0-dev libgtk-3-dev librust-atk-dev + # packages: musl-tools libglib2.0-dev libatk1.0-dev libgtk-3-dev librust-atk-dev + packages: libglib2.0-dev libatk1.0-dev libgtk-3-dev librust-atk-dev version: 1.0 - name: Checkout sources @@ -346,19 +347,19 @@ jobs: if: runner.os == 'Linux' uses: goto-bus-stop/setup-zig@v2 # needed for cargo-zigbuild - - name: Install zig on linux - if: runner.os == 'Linux' - run: | - rustup target add x86_64-unknown-linux-musl + # - name: Install zig on linux + # if: runner.os == 'Linux' + # run: | + # rustup target add x86_64-unknown-linux-musl - name: Build on Linux if: runner.os == 'Linux' # We're using musl to make the binaries statically linked and portable - # run: | - # cargo install cargo-zigbuild - # cargo --verbose zigbuild --bin kaspa-ng --release --target x86_64-unknown-linux-gnu.2.27 # Use an older glibc version run: | - cargo build --bin kaspa-ng --release --target x86_64-unknown-linux-musl + cargo install cargo-zigbuild + cargo --verbose zigbuild --bin kaspa-ng --release --target x86_64-unknown-linux-gnu.2.27 # Use an older glibc version + # run: | + # cargo build --bin kaspa-ng --release --target x86_64-unknown-linux-musl - name: Build on Windows if: runner.os == 'Windows' diff --git a/core/src/modules/block_dag.rs b/core/src/modules/block_dag.rs index 7646e8e..66eb6e3 100644 --- a/core/src/modules/block_dag.rs +++ b/core/src/modules/block_dag.rs @@ -211,7 +211,7 @@ impl ModuleT for BlockDag { ); ui.space(); ui.add( - Slider::new(&mut self.parent_threshold, 50..=1000) + Slider::new(&mut self.parent_threshold, 200..=1000) .clamp_to_range(true) .logarithmic(true) .text(i18n("Threshold"))