Skip to content

Commit ab0a36a

Browse files
committed
Run tests on Windows and macOS, not just Linux.
1 parent 114c2e3 commit ab0a36a

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/check.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ jobs:
3232

3333
android_unversioned_tests:
3434
# The type of runner that the job will run on
35-
runs-on: ubuntu-latest
35+
runs-on: ${{ matrix.os }}
36+
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
os:
41+
- ubuntu-latest
42+
- macos-latest
43+
- windows-latest
3644

3745
steps:
3846
# Checks-out your repository under $GITHUB_WORKSPACE for the job.
@@ -65,27 +73,22 @@ jobs:
6573
needs: [generate_versions] # , sanity_check]
6674

6775
# The type of runner that the job will run on
68-
runs-on: ubuntu-latest
76+
runs-on: ${{ matrix.os }}
6977

7078
strategy:
7179
fail-fast: false
7280
matrix:
81+
os:
82+
- ubuntu-latest
83+
- macos-latest
84+
- windows-latest
7385
androidTestTask: ${{ fromJson(needs.generate_versions.outputs.matrix) }}
7486

7587
# Steps represent a sequence of tasks that will be executed as part of the job
7688
steps:
7789
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
7890
- uses: actions/checkout@v2
7991

80-
# # Sets up the NDK required by AGP 3.6.x
81-
# - name: Setup NDK
82-
# run: sudo $ANDROID_HOME/tools/bin/sdkmanager 'ndk;20.0.5594570'
83-
84-
# - name: Install Rustup
85-
# run: |
86-
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
87-
# echo "$HOME/.cargo/bin" >> $GITHUB_PATH
88-
8992
- name: Setup Rust
9093
run: |
9194
rustup toolchain install stable

0 commit comments

Comments
 (0)