Skip to content

Commit

Permalink
ci: add win ci (#39)
Browse files Browse the repository at this point in the history
add windows ci
  • Loading branch information
asukaminato0721 authored Oct 22, 2024
1 parent 22cf354 commit 34fa6d7
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'README.md'

jobs:
build:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -24,3 +24,23 @@ jobs:
- name: Build
run: |
cargo build --release
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- uses: MinoruSekine/[email protected]
with:
buckets: extras
- name: Install dependencies
shell: bash
run: |
set -eux -o pipefail
scoop install wget
wget https://github.com/rime/librime/releases/download/1.11.2/rime-5b09f35-Windows-msvc-x64.7z -O rime.7z
7z x rime.7z
LIBRIME_INCLUDE_DIR=$PWD/dist/include LIBRIME_LIB_DIR=$PWD/dist/lib LIB=$PWD/dist/lib cargo build --release

0 comments on commit 34fa6d7

Please sign in to comment.