forked from rime/weasel
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
follow rime/librime pr 806, breaking change
build librime in ci
- Loading branch information
Showing
8 changed files
with
51 additions
and
52 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- name: Checkout last commit | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
submodules: recursive | ||
|
||
- name: Configure build environment | ||
run: | | ||
|
@@ -46,12 +46,22 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Copy Rime files | ||
run: .\github.install.bat | ||
- name: build librime | ||
if: ${{ success() }} | ||
run: | | ||
# load plugins | ||
pushd librime\plugins\ | ||
git clone -v --depth=1 https://github.com/hchunhui/librime-lua.git | ||
git clone -v --depth=1 -b thirdparty https://github.com/hchunhui/librime-lua.git librime-lua\thirdparty | ||
git clone -v --depth=1 https://github.com/rime/librime-predict.git | ||
git clone -v --depth=1 https://github.com/lotem/librime-octagram.git | ||
popd | ||
.\build.bat librime | ||
- name: Build Weasel | ||
id: build_weasel | ||
run: | | ||
.\build.bat opencc | ||
.\build.bat data | ||
.\build.bat hant | ||
.\build.bat installer | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,22 +43,32 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Copy Rime files | ||
run: .\github.install.bat | ||
- name: build librime | ||
if: ${{ success() }} | ||
run: | | ||
# load plugins | ||
pushd librime\plugins\ | ||
git clone -v --depth=1 https://github.com/hchunhui/librime-lua.git | ||
git clone -v --depth=1 -b thirdparty https://github.com/hchunhui/librime-lua.git librime-lua\thirdparty | ||
git clone -v --depth=1 https://github.com/rime/librime-predict.git | ||
git clone -v --depth=1 https://github.com/lotem/librime-octagram.git | ||
popd | ||
.\build.bat librime | ||
- name: Build Weasel | ||
id: build_weasel | ||
run: | | ||
.\build.bat opencc | ||
.\build.bat data | ||
.\build.bat hant | ||
.\build.bat installer | ||
if: ${{ success() }} | ||
|
||
- name: Compress Debug Symbols | ||
shell: pwsh | ||
run: | | ||
Compress-Archive -Path output\*.pdb -CompressionLevel Optimal -DestinationPath .\output\archives\symbols.zip | ||
if: ${{ success() }} | ||
#- name: Compress Debug Symbols | ||
# shell: pwsh | ||
# run: | | ||
# Compress-Archive -Path output\*.pdb -CompressionLevel Optimal -DestinationPath .\output\archives\symbols.zip | ||
# if: ${{ success() }} | ||
|
||
- name: Extract changelog | ||
shell: pwsh | ||
|
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
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
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
This file was deleted.
Oops, something went wrong.
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