Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit ea5e3b9

Browse files
authored
Bump Rust version to 1.76 (stable) to fix WASM issues (#939)
- Bump Rust to `v1.76`. - Bump UniFFi to `v0.26.1` to be compatible. - Bump `speculoos` dependency since it became incompatible. - Remove AVD cache from the Android CI, reduce the AVD data partition size to 3GB.
1 parent 36402e2 commit ea5e3b9

File tree

22 files changed

+184
-337
lines changed

22 files changed

+184
-337
lines changed

.github/workflows/android.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -61,30 +61,6 @@ jobs:
6161
sudo udevadm control --reload-rules
6262
sudo udevadm trigger --name-match=kvm
6363
64-
- name: AVD cache
65-
uses: actions/cache@v3
66-
id: avd-cache
67-
with:
68-
path: |
69-
~/.android/avd/*
70-
~/.android/adb*
71-
key: avd-${{ matrix.api-level }}
72-
73-
- name: Create AVD and generate snapshot for caching
74-
if: steps.avd-cache.outputs.cache-hit != 'true'
75-
uses: reactivecircus/android-emulator-runner@v2
76-
with:
77-
working-directory: platforms/android
78-
api-level: ${{ matrix.api-level }}
79-
profile: ${{ env.DEVICE }}
80-
arch: ${{ env.ARCH }}
81-
force-avd-creation: false
82-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
83-
disable-animations: true
84-
enable-hw-keyboard: true
85-
disk-size: 3g
86-
script: echo "Generated AVD snapshot for caching."
87-
8864
- name: Run all tests with coverage
8965
uses: reactivecircus/android-emulator-runner@v2
9066
with:
@@ -96,6 +72,7 @@ jobs:
9672
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
9773
disable-animations: true
9874
enable-hw-keyboard: true
75+
disk-size: 3G
9976
script: |
10077
chmod +x scripts/ci_test.sh
10178
scripts/ci_test.sh

.github/workflows/ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install Rust
3737
uses: actions-rs/toolchain@v1
3838
with:
39-
toolchain: 1.71
39+
toolchain: 1.76
4040
profile: minimal
4141
override: true
4242

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Rust
2929
uses: actions-rs/toolchain@v1
3030
with:
31-
toolchain: 1.71
31+
toolchain: 1.76
3232
profile: minimal
3333
override: true
3434

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Set Version
24-
run: rustup default 1.71
24+
run: rustup default 1.76
2525
- name: Set Component
2626
run: rustup component add rustfmt clippy
2727
- name: Format

.github/workflows/wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Set Version
24-
run: rustup default 1.71
24+
run: rustup default 1.76
2525
- name: Install `wasm-pack`
2626
run: cargo install wasm-pack
2727
- name: Test the `wysiwyg` crate

0 commit comments

Comments
 (0)