Skip to content

Commit

Permalink
wip - CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aspect committed Jan 9, 2024
1 parent 0e52f6f commit 5d401f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion core/src/modules/block_dag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 5d401f1

Please sign in to comment.