Skip to content

Add HarmonyOS platform #36

Add HarmonyOS platform

Add HarmonyOS platform #36

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
env:
MOZC_SHA: ad0e97b8b8dcfd4c841a02c5d6a043fb5e741405
jobs:
lint:
runs-on: ubuntu-latest
outputs:
MOZC_SHA: ${{ env.MOZC_SHA }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install ruff pyright
- name: Lint
run: |
ruff check scripts
pyright scripts/*.py
# macos:
# if: "!contains(github.event.head_commit.message, '!macos')"
# needs: lint
# uses: ./.github/workflows/macos.yml
# with:
# mozc_sha: ${{ needs.lint.outputs.MOZC_SHA }}
# ios:
# if: "!contains(github.event.head_commit.message, '!ios')"
# needs: lint
# uses: ./.github/workflows/ios.yml
# with:
# mozc_sha: ${{ needs.lint.outputs.MOZC_SHA }}
harmony:
if: "!contains(github.event.head_commit.message, '!harmony')"
needs: lint
uses: ./.github/workflows/harmony.yml
# js:
# if: "!contains(github.event.head_commit.message, '!js')"
# needs: lint
# uses: ./.github/workflows/js.yml
# with:
# mozc_sha: ${{ needs.lint.outputs.MOZC_SHA }}