Skip to content

Commit 4633d82

Browse files
committed
Check compilation for Android and Redox in CI
1 parent 5982e8c commit 4633d82

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,28 @@ jobs:
4949
command: check
5050
args: ${{ env.CARGO_ARGS }} --no-default-features
5151

52+
exotic_targets:
53+
name: Ensure compilation on exotic targets
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v2
57+
- uses: actions-rs/toolchain@v1
58+
with:
59+
target: aarch64-linux-android
60+
61+
- name: Check compilation for android
62+
uses: actions-rs/cargo@v1
63+
with:
64+
command: check
65+
args: --target aarch64-linux-android
66+
67+
- name: Prepare repository for redox compilation
68+
run: bash scripts/redox/uncomment-cargo.sh
69+
- name: Check compilation for Redox
70+
uses: coolreader18/redoxer-action@v1
71+
with:
72+
command: check
73+
5274
snippets_cpython:
5375
name: Run snippets and cpython tests
5476
runs-on: ${{ matrix.os }}

.github/workflows/cron-ci.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@ on:
66
name: Periodic checks/tasks
77

88
jobs:
9-
redox:
10-
name: Check compilation on Redox
11-
runs-on: ubuntu-latest
12-
container:
13-
image: redoxos/redoxer:latest
14-
steps:
15-
- uses: actions/checkout@v2
16-
- name: prepare repository for redoxer compilation
17-
run: bash scripts/redox/uncomment-cargo.sh
18-
- name: compile for redox
19-
run: redoxer build --verbose
20-
219
codecov:
2210
name: Collect code coverage data
2311
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)