Skip to content

Commit 9ba666c

Browse files
ci: Add jobs for aarch64-apple-ios, wasm32-unknown-emscripten. (#222)
These only build and don't run tests.
1 parent c084375 commit 9ba666c

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

.github/workflows/main.yml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
RUST_BACKTRACE: 1
124124

125125
windows-ci:
126-
name: Windows
126+
name: stable, Windows, static library
127127
runs-on: windows-latest
128128

129129
steps:
@@ -140,14 +140,51 @@ jobs:
140140
env:
141141
RUST_BACKTRACE: 1
142142

143+
wasm32-emscripten-ci:
144+
name: stable, Emscripten, static library
145+
runs-on: ubuntu-latest
146+
147+
steps:
148+
- uses: actions/checkout@v3
149+
150+
- uses: mymindstorm/setup-emsdk@v12
151+
with:
152+
version: "3.1.44"
153+
actions-cache-folder: emsdk-cache
154+
155+
- name: Install stable toolchain
156+
uses: dtolnay/rust-toolchain@stable
157+
with:
158+
target: wasm32-unknown-emscripten
159+
160+
- name: Cargo build
161+
run: cargo build --target wasm32-unknown-emscripten --workspace --no-default-features --features build-native-harfbuzz
162+
163+
ios-ci-static:
164+
name: stable, iOS, static library
165+
runs-on: macos-latest
166+
167+
steps:
168+
- uses: actions/checkout@v3
169+
170+
- name: Install stable toolchain
171+
uses: dtolnay/rust-toolchain@stable
172+
with:
173+
target: aarch64-apple-ios
174+
175+
- name: Cargo build
176+
run: cargo build --target aarch64-apple-ios --workspace --no-default-features --features "build-native-harfbuzz, coretext"
177+
143178
build_result:
144179
name: Result
145180
runs-on: ubuntu-latest
146181
needs:
182+
- "ios-ci-static"
147183
- "linux-ci-static"
148184
- "linux-ci-shared"
149185
- "mac-ci-shared"
150186
- "mac-ci-static"
187+
- "wasm32-emscripten-ci"
151188
- "windows-ci"
152189

153190
steps:

0 commit comments

Comments
 (0)