Skip to content

Commit

Permalink
ci cleanup (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Dec 21, 2024
1 parent 941131e commit 0d1105d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 34 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14, macos-13, ubuntu-24.04]
include:
- { os: macos-14, arch: arm64 }
- { os: macos-13, arch: x86_64 }
- { os: ubuntu-24.04, arch: x86_64 }
os: [macos-15, macos-13, ubuntu-24.04]

steps:
- uses: actions/checkout@v4
Expand All @@ -54,12 +50,12 @@ jobs:
- name: Install dependencies (macOS)
if: startsWith(matrix.os, 'macos')
run: |
brew install ninja
./install-deps.sh ${{ matrix.arch }}
brew install ninja nlohmann-json
- name: Install dependencies (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y ninja-build \
nlohmann-json3-dev \
libwebkit2gtk-4.1-dev \
Expand All @@ -69,10 +65,9 @@ jobs:
- name: Configure (macOS)
if: startsWith(matrix.os, 'macos')
run: |
PKG_CONFIG_PATH=/tmp/fcitx5/lib/pkgconfig cmake -B build -G Ninja \
cmake -B build -G Ninja \
-DWKWEBVIEW_PROTOCOL="fcitx" \
-DWEBVIEW_WWW_PATH=".local/share/fcitx5/www" \
-DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} \
-DCMAKE_BUILD_TYPE=Release
- name: Configure (Ubuntu)
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Fcitx5 webview

Customizable candidate window for [fcitx5-macos](https://github.com/fcitx-contrib/fcitx5-macos),
Customizable candidate window for
[fcitx5-macos](https://github.com/fcitx-contrib/fcitx5-macos)
and [fcitx5-js](https://github.com/fcitx-contrib/fcitx5-js),
powered by [webview](https://github.com/webview/webview).

It can be developed independently of fcitx5.
Expand Down Expand Up @@ -61,8 +63,7 @@ add `div` to the selectors so it has higher precedence.

## Build
```sh
./install-deps.sh
PKG_CONFIG_PATH=/tmp/fcitx5/lib/pkgconfig cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
cmake --build build
```

Expand Down
22 changes: 0 additions & 22 deletions install-deps.sh

This file was deleted.

0 comments on commit 0d1105d

Please sign in to comment.