From 456c0ad6ff6748001d300293f171315b6a86195c Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Sat, 12 Apr 2025 22:12:11 +0100 Subject: [PATCH] ci: adding rust build to release --- .github/workflows/build.yml | 3 +-- .github/workflows/release.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 745f531e..b19b90c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,7 @@ jobs: build: strategy: matrix: - # os: [windows-latest, ubuntu-latest] - os: [windows-latest] + os: [windows-latest, ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdd1f103..818d2d9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,16 @@ jobs: with: python-version: 3.9 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: rustfmt + + - name: Build Rust + run: cargo build --release + working-directory: ./rust_rpc + - name: Install dependencies run: pip install -r requirements.txt