Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# See https://github.com/actions/runner-images.

name: "Bazel (x64 Windows)"
name: "Bazel"

on:
push:
Expand All @@ -30,11 +30,30 @@ concurrency:
permissions: read-all

jobs:
build-and-test-x64-windows-bazel:
runs-on: windows-latest
build-and-test:
# Note that the status check UI will show something like
# `Bazel / Bazel / x86-64 Linux`, but this name is the real name.
name: Bazel / ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
name: x86-64 Linux
config: --config=dev
- os: macos-latest
name: AArch64 macOS
config: --config=dev
test_filters: --test_filter=-PywrapFstTest.testRandGen
- os: windows-latest
name: x64 Windows
shell: pwsh
test_filters: --test_tag_filters=-no_windows_msvc
defaults:
run:
shell: pwsh
shell: ${{ matrix.shell || 'bash' }}
env:
USE_BAZEL_VERSION: 9.0.0
steps:
Expand All @@ -52,12 +71,12 @@ jobs:
run: bazelisk --version
- name: Build
run: |
bazelisk build -c fastbuild //...
bazelisk build ${{ matrix.config }} -c fastbuild //...
- name: Test
shell: bash # Avoid default PowerShell syntax headaches.
shell: bash
run: >-
bazelisk test -c fastbuild
bazelisk test ${{ matrix.config }} -c fastbuild
--test_size_filters=-enormous
--test_output=errors
--test_tag_filters=-no_windows_msvc
${{ matrix.test_filters }}
//...
59 changes: 0 additions & 59 deletions .github/workflows/bazel_arm64_macos.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/bazel_x64_linux.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# See https://github.com/actions/runner-images.

name: "CMake (x64 Linux)"
name: "CMake"

on:
push:
Expand All @@ -30,10 +30,22 @@ concurrency:
permissions: read-all

jobs:
build-and-test-x64-linux-cmake:
runs-on: ubuntu-latest
build-and-test:
# Note that the status check UI will show something like
# `CMake / CMake / x86-64 Linux`, but this name is the real name.
name: CMake / ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
name: x86-64 Linux
- os: macos-latest
name: AArch64 macOS
env:
cache-name: ${{github.job}}
cache-name: ${{github.job}}-${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Set Build Parallelism
Expand Down
66 changes: 0 additions & 66 deletions .github/workflows/cmake_arm64_macos.yml

This file was deleted.

7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@

[![GitHub license](https://img.shields.io/badge/license-Apache2-blue.svg)](https://github.com/google-research/nisaba/blob/main/LICENSE)
[![C++ version](https://img.shields.io/badge/C++17-blue.svg?style=flat&logo=c%2B%2B)](https://en.cppreference.com/w/cpp/17)
[![Bazel (x64 Linux)](https://github.com/google-research/openfst/actions/workflows/bazel_x64_linux.yml/badge.svg)](https://github.com/google-research/openfst/actions/workflows/bazel_x64_linux.yml)
[![CMake (x64 Linux)](https://github.com/google-research/openfst/actions/workflows/cmake_x64_linux.yml/badge.svg)](https://github.com/google-research/openfst/actions/workflows/cmake_x64_linux.yml)
[![Bazel (arm64 macOS)](https://github.com/google-research/openfst/actions/workflows/bazel_arm64_macos.yml/badge.svg)](https://github.com/google-research/openfst/actions/workflows/bazel_arm64_macos.yml)
[![CMake (arm64 macOS)](https://github.com/google-research/openfst/actions/workflows/cmake_arm64_macos.yml/badge.svg)](https://github.com/google-research/openfst/actions/workflows/cmake_arm64_macos.yml)
[![Bazel (x64 Windows)](https://github.com/google-research/openfst/actions/workflows/bazel_x64_windows.yml/badge.svg)](https://github.com/google-research/openfst/actions/workflows/bazel_x64_windows.yml)
[![Bazel](https://github.com/google-research/openfst/actions/workflows/bazel.yml/badge.svg)](https://github.com/google-research/openfst/actions/workflows/bazel.yml)
[![CMake](https://github.com/google-research/openfst/actions/workflows/cmake.yml/badge.svg)](https://github.com/google-research/openfst/actions/workflows/cmake.yml)

This library is for constructing, combining, optimizing, and searching *weighted
finite-state transducers* (FSTs). Weighted finite-state transducers are automata
Expand Down
Loading