Skip to content

Commit

Permalink
fix(ci): install Rime plugins' dependencies
Browse files Browse the repository at this point in the history
macOS build and Windows build bundle plugins.
Rime plugins may install their own dependencies in action-install.sh
or action-install.bat in the plugin's top directory.

deprecate travis ci config.
  • Loading branch information
lotem committed Jan 15, 2022
1 parent 8500119 commit 7677dae
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: ./action-install-macos.sh

- name: Unit test
run: make xcode/test
run: make xcode/test xcode/dist

- name: Upload artifactory
run: echo TODO
Expand Down
48 changes: 0 additions & 48 deletions .travis.yml

This file was deleted.

10 changes: 10 additions & 0 deletions action-install-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,14 @@ export BOOST_ROOT="$(pwd)/thirdparty/src/boost_1_75_0"

make xcode/thirdparty

if [[ -n "${RIME_PLUGINS}" ]]; then
# intentionally unquoted: ${RIME_PLUGINS} is a space separated list of slugs
bash ./install-plugins.sh ${RIME_PLUGINS}
for plugin_dir in plugins/*; do
if [[ -e "${plugin_dir}/action-install.sh" ]]; then
(cd "${plugin_dir}"; bash ./action-install.sh)
fi
done
fi

make xcode
17 changes: 0 additions & 17 deletions travis-install.sh

This file was deleted.

0 comments on commit 7677dae

Please sign in to comment.