Skip to content

Commit c54ee43

Browse files
authored
Merge pull request #4 from swift-everywhere/master
Add Android CI
2 parents 61fc7ba + f500b9d commit c54ee43

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/android.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: android
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
android-tests:
11+
runs-on: ubuntu-24.04
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Free disk space
17+
run: sudo rm -rf /opt/microsoft /opt/google /opt/az /opt/ghc /usr/share/dotnet /usr/local/share/boost /opt/hostedtoolcache /usr/local/share/chromium
18+
19+
- name: Test on Android emulator
20+
uses: skiptools/swift-android-action@v2
21+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The D library requires Swift 6.1 or later.
1717
| Platform | Status |
1818
| -------- | ------ |
1919
| 🐧 Linux | [![Tests](https://github.com/tayloraswift/d/actions/workflows/Tests.yml/badge.svg)](https://github.com/tayloraswift/d/actions/workflows/Tests.yml) |
20+
| 🤖 Android | [![Tests](https://github.com/tayloraswift/d/actions/workflows/android.yml/badge.svg)](https://github.com/tayloraswift/d/actions/workflows/android.yml) |
2021
| 🍏 Darwin | [![Tests](https://github.com/tayloraswift/d/actions/workflows/Tests.yml/badge.svg)](https://github.com/tayloraswift/d/actions/workflows/Tests.yml) |
2122
| 🍏 Darwin (iOS) | [![iOS](https://github.com/tayloraswift/d/actions/workflows/iOS.yml/badge.svg)](https://github.com/tayloraswift/d/actions/workflows/iOS.yml) |
2223
| 🍏 Darwin (tvOS) | [![tvOS](https://github.com/tayloraswift/d/actions/workflows/tvOS.yml/badge.svg)](https://github.com/tayloraswift/d/actions/workflows/tvOS.yml) |

0 commit comments

Comments
 (0)