Skip to content

Commit db1f005

Browse files
committed
rust
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
1 parent 5aac6a8 commit db1f005

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/main.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
# os: ubuntu-24.04,
3333
# test: false,
3434
# }
35-
- { target: arm-linux-androideabi, os: ubuntu-24.04, test: false }
36-
- { target: aarch64-linux-android, os: ubuntu-24.04, test: false }
37-
- { target: armv7-linux-androideabi, os: ubuntu-24.04, test: false }
38-
- { target: x86_64-linux-android, os: ubuntu-24.04, test: false }
35+
- { target: arm-linux-androideabi, os: ubuntu-24.04, test: true }
36+
- { target: aarch64-linux-android, os: ubuntu-24.04, test: true }
37+
- { target: armv7-linux-androideabi, os: ubuntu-24.04, test: true }
38+
- { target: x86_64-linux-android, os: ubuntu-24.04, test: true }
3939
features:
4040
[
4141
"",
@@ -61,12 +61,11 @@ jobs:
6161
sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev xvfb weston -y
6262
- name: Install rust
6363
id: toolchain
64-
uses: dtolnay/rust-toolchain@stable
64+
uses: dtolnay/rust-toolchain@1.81.0
6565
with:
6666
targets: ${{ matrix.platform.target }}
6767
- name: Build
6868
run: |
69-
rustup target add ${{ matrix.platform.target }}
7069
cargo build --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
7170
- name: Test
7271
if: ${{ matrix.platform.test && startsWith(matrix.platform.os, 'ubuntu') && !contains(matrix.platform.target, 'android') }}

rust-toolchain.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.80.1"
3-
components = [ "rustfmt" ]
2+
channel = "1.81.0"
3+
components = ["rustfmt"]
44
profile = "minimal"

0 commit comments

Comments
 (0)