chore(*): remove Bazel and bump dependencies, release v1.7.0
#732
Workflow file for this run
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 build | |
on: | |
pull_request: | |
paths-ignore: | |
# ignore markdown files (CHANGELOG.md, README.md, etc.) | |
- '**/*.md' | |
push: | |
paths-ignore: | |
# ignore markdown files (CHANGELOG.md, README.md, etc.) | |
- '**/*.md' | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
jobs: | |
tests: | |
name: Tests | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: bazel build :atc_router --verbose_failures | |
- name: Ensure `ffi` feature is present (Linux) | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: readelf -Ws --dyn-syms bazel-bin/libatc_router.so | grep router_execute | |
- name: Ensure `ffi` feature is present (macOS) | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: nm -gU bazel-bin/libatc_router.dylib | grep router_execute |