feat: Romannumber (#1053) #482
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: bazel | |
on: | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
- 'LICENSE' | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
- 'LICENSE' | |
jobs: | |
bazel: | |
name: ci-ubuntu-24.04-gcc-bazel | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
- name: Cache Bazel | |
id: cache-bazel | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-bazel-data | |
with: | |
path: /home/runner/.cache/bazel/_bazel_runner | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('MODULE.bazel') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Build faker-cxx library | |
run: bazel build //:faker-cxx | |
- name: Build and run faker-cxx tests | |
run: | | |
bazel build //tests:faker-cxx-ut | |
bazel-bin/tests/faker-cxx-ut |