Skip to content

Commit 24b01eb

Browse files
committed
Exclude experimental crates from cross-compilation
1 parent ff55a36 commit 24b01eb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ jobs:
338338
test-runtime-architectures:
339339
name: Test Runtime (${{ matrix.target }})
340340
runs-on: ubuntu-latest
341+
permissions:
342+
contents: read
341343
strategy:
342344
fail-fast: false
343345
matrix:
@@ -349,7 +351,6 @@ jobs:
349351
steps:
350352
- uses: actions/checkout@v4
351353
with:
352-
path: smithy-rs
353354
ref: ${{ inputs.git_ref }}
354355
- uses: dtolnay/rust-toolchain@master
355356
with:
@@ -358,10 +359,10 @@ jobs:
358359
- name: Install cross
359360
run: cargo install cross --git https://github.com/cross-rs/cross
360361
- name: Test smithy-rs runtime on ${{ matrix.target }}
361-
working-directory: smithy-rs/rust-runtime
362-
run: cross test --target ${{ matrix.target }} --workspace
362+
working-directory: rust-runtime
363+
run: cross test --target ${{ matrix.target }} --workspace --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
363364
- name: Test AWS runtime on ${{ matrix.target }}
364-
working-directory: smithy-rs/aws/rust-runtime
365+
working-directory: aws/rust-runtime
365366
run: cross test --target ${{ matrix.target }} --workspace
366367

367368
# Run the canary against generated SDKs

0 commit comments

Comments
 (0)