Build JSAR native deps #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build JSAR native deps | |
on: | |
workflow_dispatch: | |
jobs: | |
build-on-macOS: | |
runs-on: macos-latest | |
steps: | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.74.0 | |
- name: Install Rust targets | |
run: | | |
rustup target add aarch64-apple-darwin | |
rustup target add x86_64-apple-darwin | |
- uses: actions/[email protected] | |
with: | |
node-version: 18.16.0 | |
- name: Build ICU library | |
run: | | |
git clone https://github.com/unicode-org/icu | |
cd icu && git checkout release-72-1 | |
sh build-icu.sh | |