Update fcitx5-chewing submodule and prebuilt libchewing #359
This file contains hidden or 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
name: Nix | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
develop: | |
strategy: | |
matrix: | |
# Nix doesn't support Android toolchain on aarch64-darwin yet | |
# https://github.com/NixOS/nixpkgs/issues/303968 | |
# os: [ubuntu-latest, macOS-latest] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Fetch source code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- uses: cachix/install-nix-action@v26 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: cachix/cachix-action@v14 | |
with: | |
name: fcitx5-android | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: Build Debug APK | |
run: | | |
nix develop .#noAS --command ./gradlew :app:assembleDebug | |
nix develop .#noAS --command ./gradlew :assembleDebugPlugins |