From 0d7c5000ffa74b57474b3d31390d881ff5c02adb Mon Sep 17 00:00:00 2001 From: Christian Stolz Date: Thu, 26 Sep 2024 20:31:20 +0200 Subject: [PATCH] Simpler version --- .github/workflows/ci.yml | 18 +----------------- .github/workflows/rust.yml | 22 ---------------------- 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 851a8c6..287a0f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,26 +20,10 @@ jobs: - armv7-unknown-linux-gnueabihf # Linux ARM 32-bit steps: - - name: Set up environment for OpenSSL - if: matrix.os == 'ubuntu-22.04' - run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config - - name: Checkout source uses: actions/checkout@v4 - - - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: ${{ matrix.target }} - override: true - - name: Build - uses: actions-rs/cargo@v1 - with: - command: build - args: --release --target ${{ matrix.target }} - + run: cargo build --verbose - name: Upload artifact uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 9fd45e0..0000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Rust - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -env: - CARGO_TERM_COLOR: always - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose