Skip to content

feat: Added Israel location data (#459) (#972) #295

feat: Added Israel location data (#459) (#972)

feat: Added Israel location data (#459) (#972) #295

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/[email protected]
- name: Cache Bazel
id: cache-bazel
uses: actions/[email protected]
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 faker-cxx examples and run
run: |
bazel build //examples:faker-cxx-basic-example
bazel build //examples:faker-cxx-person-example
bazel-bin/examples/faker-cxx-person-example
bazel-bin/examples/faker-cxx-basic-example
- name: Build faker-cxx tests and validate
run: |
bazel build //tests:faker-cxx-ut
bazel-bin/tests/faker-cxx-ut