usage_stats: Use TestWithTempUserProfile, refactor StorageInitializer #156
This file contains 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: 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/virtual-environments/blob/main/images/linux/Ubuntu2204-Readme.md | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 60 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: setup | |
run: | | |
sudo apt-get update | |
echo "CC=clang" >> $GITHUB_ENV | |
echo "CXX=clang++" >> $GITHUB_ENV | |
- name: build | |
working-directory: ./src | |
run: | | |
bazel build --config oss_android package |