diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27bbe0e9556..6271e301b9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -333,6 +333,41 @@ jobs: shell: bash run: cross test --target ${{ matrix.target }} --manifest-path "aws/rust-runtime/Cargo.toml" ${{ matrix.test_aws_exclude }} --workspace + # Test runtime crates on multiple architectures to catch architecture-specific issues + # like crc-fast 1.4 SIGILL on ARM before merge + test-runtime-architectures: + name: Test Runtime (${{ matrix.target }}) + runs-on: ubuntu-latest + permissions: + contents: read + strategy: + fail-fast: false + matrix: + target: + - x86_64-unknown-linux-gnu + - x86_64-unknown-linux-musl + - aarch64-unknown-linux-gnu + - aarch64-unknown-linux-musl + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ inputs.git_ref }} + - uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.rust_version }} + targets: ${{ matrix.target }} + - uses: Swatinem/rust-cache@v2 + with: + key: ${{ matrix.target }} + - name: Install cross + run: cargo install cross --git https://github.com/cross-rs/cross --locked + - name: Build smithy-rs runtime on ${{ matrix.target }} + shell: bash + run: cross build --target ${{ matrix.target }} --manifest-path "rust-runtime/Cargo.toml" --workspace --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental + - name: Build AWS runtime on ${{ matrix.target }} + shell: bash + run: cross build --target ${{ matrix.target }} --manifest-path "aws/rust-runtime/Cargo.toml" --workspace + # Run the canary against generated SDKs # # In addition to Matrix Success, this job will also be required to pass for merge. @@ -391,6 +426,7 @@ jobs: - test-sdk - test-rust-windows - test-exotic-platform-support + - test-runtime-architectures # Run this job even if its dependency jobs fail if: always() runs-on: ubuntu-latest diff --git a/aws/rust-runtime/aws-types/Cargo.toml b/aws/rust-runtime/aws-types/Cargo.toml index fa650607e3d..d646553b499 100644 --- a/aws/rust-runtime/aws-types/Cargo.toml +++ b/aws/rust-runtime/aws-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-types" -version = "1.3.11" +version = "1.3.12" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "Cross-service types for the AWS SDK." edition = "2021" diff --git a/aws/rust-runtime/aws-types/src/sdk_config.rs b/aws/rust-runtime/aws-types/src/sdk_config.rs index fc1f7080a53..5f7dea916e2 100644 --- a/aws/rust-runtime/aws-types/src/sdk_config.rs +++ b/aws/rust-runtime/aws-types/src/sdk_config.rs @@ -442,7 +442,7 @@ impl Builder { /// /// # Examples /// Disabling identity caching: - /// ```rust + /// ```ignore /// # use aws_types::SdkConfig; /// use aws_smithy_runtime::client::identity::IdentityCache; /// let config = SdkConfig::builder() @@ -450,7 +450,7 @@ impl Builder { /// .build(); /// ``` /// Changing settings on the default cache implementation: - /// ```rust + /// ```ignore /// # use aws_types::SdkConfig; /// use aws_smithy_runtime::client::identity::IdentityCache; /// use std::time::Duration; @@ -475,7 +475,7 @@ impl Builder { /// expires. /// /// # Examples - /// ```rust + /// ```ignore /// # use aws_types::SdkConfig; /// use aws_smithy_runtime::client::identity::IdentityCache; ///