Skip to content

Commit 68c7163

Browse files
Partially fix CI targets (rust-lang/packed-simd#355)
This fixes most CI targets that don't require special SDKs. A couple were named inaccurately, and that is also fixed, but it doesn't actually restore them to working order. Targets fixed by this merge: - [ ] "aarch-apple-ios" (aarch64-apple-ios) - [ ] aarch64-linux-android - [ ] aarch64-unknown-linux-gnu - [ ] "arm-linux-androideabi" (armv7-linux-androideabi) - [ ] i586-unknown-linux-gnu-SSE - [x] powerpc-unknown-linux-gnu - [x] powerpc64-unknown-linux-gnu - [x] powerpc64le-unknown-linux-gnu - [x] sparc64-unknown-linux-gnu - [x] s390x-unknown-linux-gnu - [ ] thumbv7neon-linux-android - [x] wasm32-unknown-unknown - [ ] x86_64-apple-ios - [x] x86_64-unknown-linux-android
2 parents ffce298 + 8a4d939 commit 68c7163

File tree

13 files changed

+38
-54
lines changed

13 files changed

+38
-54
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
fail-fast: true
1919
with:
2020
target: x86_64-linux-android
21-
arm-linux-androideabi:
21+
armv7-linux-androideabi:
2222
uses: ./.github/workflows/run-ci-script.yml
2323
strategy:
2424
fail-fast: true
2525
with:
26-
target: arm-linux-androideabi
26+
target: armv7-linux-androideabi
2727
aarch64-unknown-linux-android-NEON:
2828
uses: ./.github/workflows/run-ci-script.yml
2929
strategy:
@@ -207,12 +207,12 @@ jobs:
207207
runner: macos-latest
208208
script: ci/run.sh
209209
target: x86_64-apple-ios
210-
aarch-apple-ios:
210+
aarch64-apple-ios:
211211
uses: ./.github/workflows/run-ci-script.yml
212212
strategy:
213213
fail-fast: true
214214
with:
215215
runner: macos-latest
216216
script: ci/run.sh
217-
target: aarch-apple-ios
217+
target: aarch64-apple-ios
218218
rustflags: -Ctarget-feature=+neon

.github/workflows/run-ci-script.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
VERIFY: ${{ inputs.verify }}
7878
FEATURES: ${{ inputs.features }}
7979
- name: Run CI Script
80-
timeout-minutes: 15
80+
timeout-minutes: 30
8181
run: ${{ inputs.script }}
8282
env:
8383
TARGET: ${{ inputs.target }}

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ optional = true
3939

4040
[target.wasm32-unknown-unknown.dev-dependencies]
4141
# Keep in sync with the version on Dockerfile.
42-
wasm-bindgen = "=0.2.73"
43-
wasm-bindgen-test = "=0.3.23"
42+
wasm-bindgen = "=0.2.87"
43+
wasm-bindgen-test = "=0.3.37"

ci/android-install-ndk.sh

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,11 @@
1111

1212
set -ex
1313

14-
curl --retry 5 -O https://dl.google.com/android/repository/android-ndk-r15b-linux-x86_64.zip
15-
unzip -q android-ndk-r15b-linux-x86_64.zip
14+
ANDROID_NDK_URL=https://dl.google.com/android/repository
15+
ANDROID_NDK_ARCHIVE=android-ndk-r25b-linux.zip
1616

17-
case "$1" in
18-
aarch64)
19-
arch=arm64
20-
;;
21-
22-
i686)
23-
arch=x86
24-
;;
25-
26-
*)
27-
arch=$1
28-
;;
29-
esac;
30-
31-
android-ndk-r15b/build/tools/make_standalone_toolchain.py \
32-
--unified-headers \
33-
--install-dir "/android/ndk-${1}" \
34-
--arch "${arch}" \
35-
--api 24
36-
37-
rm -rf ./android-ndk-r15b-linux-x86_64.zip ./android-ndk-r15b
17+
curl -fO "$ANDROID_NDK_URL/$ANDROID_NDK_ARCHIVE"
18+
unzip -q $ANDROID_NDK_ARCHIVE
19+
rm $ANDROID_NDK_ARCHIVE
20+
mv android-ndk-* ndk
21+
rm -rf android-ndk-*

ci/docker/powerpc-unknown-linux-gnu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:22.04
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
gcc libc6-dev qemu-user ca-certificates \

ci/docker/powerpc64-unknown-linux-gnu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:22.04
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
gcc \

ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:22.04
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
gcc libc6-dev qemu-user ca-certificates \

ci/docker/s390x-unknown-linux-gnu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.10
1+
FROM ubuntu:22.04
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends \
@@ -17,4 +17,4 @@ ENV CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gnu-gcc \
1717
CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_RUNNER="qemu-s390x -L /usr/s390x-linux-gnu" \
1818
CC_s390x_unknown_linux_gnu=s390x-linux-gnu-gcc \
1919
CXX_s390x_unknown_linux_gnu=s390x-linux-gnu-g++ \
20-
OBJDUMP=s390x-linux-gnu-objdump
20+
OBJDUMP=s390x-linux-gnu-objdump

ci/docker/sparc64-unknown-linux-gnu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:stretch
1+
FROM debian:bookworm
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
curl ca-certificates \
@@ -15,4 +15,4 @@ COPY test-runner-linux /
1515
ENV CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=sparc64-linux-gnu-gcc \
1616
CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_RUNNER="/test-runner-linux sparc64" \
1717
CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \
18-
PATH=$PATH:/rust/bin
18+
PATH=$PATH:/rust/bin

0 commit comments

Comments
 (0)