forked from google/mozc
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 991 Bytes
/
android.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI for Android
# https://github.com/google/mozc/blob/master/docs/build_mozc_in_docker.md
# Run on push.
on: push
permissions: read-all
# Prevent previous workflows from running.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: setup
run: |
sudo apt-get update
- name: build
working-directory: ./src
run: |
bazel build --config oss_android package --config release_build
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: native_libs.zip
path: src/bazel-bin/android/jni/native_libs.zip
if-no-files-found: warn