Skip to content

Commit

Permalink
➕ Add xmake to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jan 9, 2025
1 parent cb55230 commit 4f95320
Show file tree
Hide file tree
Showing 3 changed files with 687 additions and 417 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
pacman -Sy --noconfirm mingw-w64-x86_64-pkg-config \
mingw-w64-x86_64-librime mingw-w64-x86_64-nodejs \
mingw-w64-x86_64-gcc mingw-w64-x86_64-xmake git
mingw-w64-x86_64-gcc git
ln -s c++ /mingw64/bin/cxx
- name: Enable corepack
run: |
Expand All @@ -55,13 +55,12 @@ jobs:
- name: Install dependencies
if: runner.os == 'Linux'
run: |
sudo add-apt-repository ppa:xmake-io/xmake
sudo apt-get -y update
sudo apt-get -y install librime-dev librime1 xmake
sudo apt-get -y install librime-dev librime1
- name: Install dependencies
if: runner.os == 'macOS'
run: |
brew install librime xmake
brew install librime
- name: Build
run: |
yarn install
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"typescript": "^4.1.2",
"vscode-languageserver-protocol": "^3.14.1",
"vscode-languageserver-textdocument": "^1.0.1",
"vscode-languageserver-types": "^3.14.0"
"vscode-languageserver-types": "^3.14.0",
"xmake-build-system": "2.9.5"
},
"activationEvents": [
"*"
Expand Down
Loading

0 comments on commit 4f95320

Please sign in to comment.