Skip to content

Commit

Permalink
ci: mac ci (#40)
Browse files Browse the repository at this point in the history
add macOS ci
  • Loading branch information
asukaminato0721 authored Oct 22, 2024
1 parent 34fa6d7 commit a92445f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,20 @@ jobs:
wget https://github.com/rime/librime/releases/download/1.11.2/rime-5b09f35-Windows-msvc-x64.7z -O rime.7z
7z x rime.7z
LIBRIME_INCLUDE_DIR=$PWD/dist/include LIBRIME_LIB_DIR=$PWD/dist/lib LIB=$PWD/dist/lib cargo build --release
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- name: Install dependencies
shell: bash
run: |
set -eux -o pipefail
wget https://github.com/rime/librime/releases/download/1.11.2/rime-5b09f35-macOS-universal.tar.bz2 -O rime.tar.bz2
7z x rime.tar.bz2
7z x rime.tar
LIBRIME_INCLUDE_DIR=$PWD/dist/include LIBRIME_LIB_DIR=$PWD/dist/lib LIB=$PWD/dist/lib cargo build --release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ https://user-images.githubusercontent.com/14821247/213079440-f0ab2ddd-5e44-4e41-
- [ ] 測試其他 LSP clients
- [x] 测试不同操作系统和 librime 版本
- [ ] 测试与不同 rime 配置的兼容性
- [ ] 配置 GitHub CI,编译各个平台的 Release
- [x] 配置 GitHub CI,编译各个平台的 Release
- [ ] 各种编辑器插件 (help wanted)

## Known Issues
Expand Down

0 comments on commit a92445f

Please sign in to comment.