From fac74663faa6e91c8dae67a2ef73ed0bbdceb3e3 Mon Sep 17 00:00:00 2001 From: Vladislav Drozdov <90255521+prplV@users.noreply.github.com> Date: Mon, 12 May 2025 18:18:30 +0300 Subject: [PATCH] Create rust_x86_build.yml --- .github/workflows/rust_x86_build.yml | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/rust_x86_build.yml diff --git a/.github/workflows/rust_x86_build.yml b/.github/workflows/rust_x86_build.yml new file mode 100644 index 0000000..6be838e --- /dev/null +++ b/.github/workflows/rust_x86_build.yml @@ -0,0 +1,37 @@ +name: Rust x86_64 build + +on: + push: + branches: [ master , rc ] + pull_request: + branches: [ master , rc ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config build-essential + + - name: Set up Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo- + + - name: Build x86_64-unknown-linux-gnu + run: cargo x86_64 --verbose