Skip to content

Commit

Permalink
find fcitx5
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Dec 28, 2023
1 parent 685b38a commit 70f88ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
extra-cmake-modules \
ninja
- name: Download and extract Fcitx5.app
run: |
wget https://github.com/fcitx-contrib/fcitx5-macos/releases/download/latest/Fcitx5-${{ matrix.arch }}.dmg
hdiutil attach Fcitx5-${{ matrix.arch }}.dmg
sudo cp -r /Volumes/Fcitx5/{Fcitx5.app,"Input Methods"}
- name: Build all
run: ./all.sh ${{ matrix.arch }}

Expand Down
1 change: 1 addition & 0 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ f5m_configure() {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=$HOMEBREW_PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_FIND_ROOT_PATH="/Library/Input Methods/Fcitx5.app/Contents;$HOMEBREW_PREFIX" \
-DCMAKE_OSX_ARCHITECTURES=$ARCH "$@"
}

Expand Down

0 comments on commit 70f88ad

Please sign in to comment.