diff --git a/.github/actions/deps-install/action.yml b/.github/actions/deps-install/action.yml index 02b0ffbec46..ca35c371a3e 100644 --- a/.github/actions/deps-install/action.yml +++ b/.github/actions/deps-install/action.yml @@ -63,13 +63,6 @@ runs: 7z x protoc-25.3-win64.zip -o"$TMP\protobuf" echo "$TMP\protobuf\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - - name: Install libudev (Linux) - if: runner.os == 'Linux' && contains(inputs.deps, 'libudev') - shell: bash - run: | - sudo apt-get update -y - sudo apt-get install -y libudev-dev - - name: Install python3 uses: actions/setup-python@v5 if: contains(inputs.deps, 'python3') diff --git a/.github/workflows/fmt-and-lint.yml b/.github/workflows/fmt-and-lint.yml index f5ea217eeee..c46ae4e8a0c 100644 --- a/.github/workflows/fmt-and-lint.yml +++ b/.github/workflows/fmt-and-lint.yml @@ -24,7 +24,7 @@ jobs: - name: Install build deps uses: ./.github/actions/deps-install with: - deps: ('protoc' 'libudev-dev') + deps: ('protoc') - name: Cargo cache uses: ./.github/actions/cargo-cache diff --git a/README.md b/README.md index 0d91d3cded2..0a04407eaea 100755 --- a/README.md +++ b/README.md @@ -75,7 +75,6 @@ If you want to build from source, the following prerequisites are required: - OS specific build tools (e.g. [build-essential](https://linuxhint.com/install-build-essential-ubuntu/) on Linux, [XCode](https://apps.apple.com/us/app/xcode/id497799835?mt=12) on OSX or [MSVC](https://docs.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=vs-2017) on Win) - (Optional) OSX: install [openssl](https://www.openssl.org/), e.g. `brew install openssl`. - (Optional) OSX: run `LIBRARY_PATH=/usr/local/opt/openssl/lib` -- (Optional) Linux: Install libudev-dev (dpkg) or libudev-devel (rpm) package. - [Download](https://github.com/protocolbuffers/protobuf/releases) or [compile](https://github.com/protocolbuffers/protobuf) `protoc 3.21.x+` and add it to your PATH env. It is also available via package managers depending on the OS. To build, run `cargo build` (or `cargo build -vv` to get verbose build output). diff --git a/docs/DEV_ENVIRONMENT.md b/docs/DEV_ENVIRONMENT.md index 5e4f6d16598..e06650d6998 100644 --- a/docs/DEV_ENVIRONMENT.md +++ b/docs/DEV_ENVIRONMENT.md @@ -3,19 +3,18 @@ ## Running native tests 1. Install Docker or Podman. -2. Install `libudev-dev` (dpkg) or `libudev-devel` (rpm) package. -3. Install protobuf compiler, so `protoc` is available in your PATH. -4. Download ZCash params files: [Windows](https://github.com/KomodoPlatform/komodo/blob/master/zcutil/fetch-params.bat), +2. Install protobuf compiler, so `protoc` is available in your PATH. +3. Download ZCash params files: [Windows](https://github.com/KomodoPlatform/komodo/blob/master/zcutil/fetch-params.bat), [Unix/Linux](https://github.com/KomodoPlatform/komodo/blob/master/zcutil/fetch-params.sh) -5. Create `.env.client` file with the following content +4. Create `.env.client` file with the following content ``` ALICE_PASSPHRASE=spice describe gravity federal blast come thank unfair canal monkey style afraid ``` -6. Create `.env.seed` file with the following content +5. Create `.env.seed` file with the following content ``` BOB_PASSPHRASE=also shoot benefit prefer juice shell elder veteran woman mimic image kidney ``` -7. MacOS specific: run script (required after each reboot) +6. MacOS specific: run script (required after each reboot) ```shell #!/bin/bash for ((i=2;i<256;i++)) @@ -26,7 +25,7 @@ sudo ifconfig lo0 inet6 -alias fe80::1%lo0 ``` Please note that you have to run it again after each reboot -8. Linux specific: +7. Linux specific: - for Docker users: ``` sudo groupadd docker @@ -36,7 +35,7 @@ ``` sudo ln -s $(which podman) /usr/bin/docker ``` -9. Try `cargo test --all --features run-docker-tests -- --test-threads=16`. +8. Try `cargo test --all --features run-docker-tests -- --test-threads=16`. ## Running WASM tests