Skip to content

Commit 2695e29

Browse files
committed
ci: fix cross testing
I have no idea how CI was passing with this error in the CI configuration. Apparently it is failing the `master` run, but the PRs were not failing. Crazy.
1 parent d0aa586 commit 2695e29

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
# continues to work as cross releases in the past have broken things
9696
# in subtle ways.
9797
CROSS_VERSION: v0.2.5
98-
runs-on: ${{ matrix.os }}
98+
runs-on: ubuntu-latest
9999
strategy:
100100
fail-fast: false
101101
matrix:
@@ -105,8 +105,6 @@ jobs:
105105
- powerpc-unknown-linux-gnu
106106
- powerpc64-unknown-linux-gnu
107107
- s390x-unknown-linux-gnu
108-
- x86_64-linux-android
109-
- aarch64-linux-android
110108
steps:
111109
- name: Checkout repository
112110
uses: actions/checkout@v4
@@ -124,15 +122,13 @@ jobs:
124122
- name: Basic build
125123
run: cross build --all --verbose --target ${{ matrix.target }}
126124
- name: Run subset of tests
127-
run: ${{ env.CARGO }} test --verbose --test integration --target ${{ matrix.target }}
125+
run: cross test --verbose --test integration --target ${{ matrix.target }}
128126
- name: Run subset of regex-syntax tests
129-
run: ${{ env.CARGO }} test --verbose -p regex-syntax --lib --target ${{ matrix.target }}
127+
run: cross test --verbose -p regex-syntax --lib --target ${{ matrix.target }}
130128
- name: Run subset of regex-automata tests
131-
run: ${{ env.CARGO }} test --verbose -p regex-automata --lib --target ${{ matrix.target }}
129+
run: cross test --verbose -p regex-automata --lib --target ${{ matrix.target }}
132130
- name: Run regex-lite tests
133-
run: ${{ env.CARGO }} test --verbose -p regex-lite --lib --target ${{ matrix.target }}
134-
- name: Run regex-cli tests
135-
run: ${{ env.CARGO }} test --verbose -p regex-cli --lib --target ${{ matrix.target }}
131+
run: cross test --verbose -p regex-lite --lib --target ${{ matrix.target }}
136132

137133
# This job runs a stripped down version of CI to test the MSRV. The specific
138134
# reason for doing this is that the regex crate's dev-dependencies tend to

0 commit comments

Comments
 (0)