This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch github-hosted-arm64 in repository https://gitbox.apache.org/repos/asf/avro-rs.git
commit 5e61e882b752d933795db389ff0c9ad7406a5ae3 Author: Martin Tzvetanov Grigorov <[email protected]> AuthorDate: Mon Jan 20 15:21:40 2025 +0200 chore: Use the Github hosted Linux ARM64 runners Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> --- .github/workflows/test-lang-rust-ci-ARM.yml | 71 ----------------------------- .github/workflows/test-lang-rust-ci.yml | 5 +- 2 files changed, 4 insertions(+), 72 deletions(-) diff --git a/.github/workflows/test-lang-rust-ci-ARM.yml b/.github/workflows/test-lang-rust-ci-ARM.yml deleted file mode 100644 index fe2ec39..0000000 --- a/.github/workflows/test-lang-rust-ci-ARM.yml +++ /dev/null @@ -1,71 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -name: 'Rust Continuous Integration on ARM' -on: - workflow_dispatch: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -permissions: - contents: read - -env: - RUSTFLAGS: -Dwarnings - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - arm64: - name: Rust on Linux ARM64 - runs-on: ["self-hosted", "asf-arm"] - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Cache Cargo - uses: actions/cache@v4 - with: - # these represent dependencies downloaded by cargo - # and thus do not depend on the OS, arch nor rust version. - path: ~/.cargo - key: ${{ runner.os }}-target-arm64-${{ hashFiles('**/Cargo.lock') }} - - - name: Cache Rust dependencies - uses: actions/cache@v4 - with: - # these represent compiled steps of both dependencies and avro - # and thus are specific for a particular OS, arch and rust version. - path: lang/rust/target - key: ${{ runner.os }}-target-cache1-stable- - - - name: Rust Toolchain - uses: dtolnay/rust-toolchain@nightly - with: - toolchain: stable - components: rustfmt - targets: x86_64-unknown-linux-gnu - - - name: Build - run: | - set -x - ./build.sh test diff --git a/.github/workflows/test-lang-rust-ci.yml b/.github/workflows/test-lang-rust-ci.yml index 717d16e..090bc06 100644 --- a/.github/workflows/test-lang-rust-ci.yml +++ b/.github/workflows/test-lang-rust-ci.yml @@ -35,9 +35,12 @@ concurrency: jobs: ci: - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} strategy: matrix: + runner: + - ubuntu-24.04 + - ubuntu-24.04-arm rust: - 'stable' - 'beta'
