Skip to content
Draft
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
29 changes: 17 additions & 12 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,28 @@
name: build-and-test

on:
workflow_call:
inputs:
config:
required: true
type: string
push:
branches:
- main
pull_request:

jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
config: [
clang11, clang14, clang17,
gcc12, gcc15,
]

steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b #v4.1.5
- name: Build and test (${{ inputs.config }})
run: bazel test --config=${{ inputs.config }} --copt=-Werror //...:all
- name: Build and test with -Wconversion (${{ inputs.config }})
run: bazel test --config=${{ inputs.config }} --copt=-Werror --copt=-Wconversion --test_tag_filters=-no_wconversion --build_tag_filters=-no_wconversion //au/...:all
- name: Build and test in C++20 mode (${{ inputs.config }})
run: bazel test --config=${{ inputs.config }} --copt=-Werror --copt=-std=c++20 //...:all //au:cpp20_test
- name: Build and test (${{ matrix.config }})
run: bazel test --config=${{ matrix.config }} --copt=-Werror //...:all
- name: Build and test with -Wconversion (${{ matrix.config }})
run: bazel test --config=${{ matrix.config }} --copt=-Werror --copt=-Wconversion --test_tag_filters=-no_wconversion --build_tag_filters=-no_wconversion //au/...:all
- name: Build and test in C++20 mode (${{ matrix.config }})
run: bazel test --config=${{ matrix.config }} --copt=-Werror --copt=-std=c++20 //...:all //au:cpp20_test
- name: Build and test with -Wsign-conversion
run: bazel build --config=${{ inputs.config }} --copt=-Werror --copt=-Wsign-conversion --test_tag_filters=-no_wsign_conversion --build_tag_filters=-no_wsign_conversion //au/...:all //release/...:all
run: bazel build --config=${{ matrix.config }} --copt=-Werror --copt=-Wsign-conversion --test_tag_filters=-no_wsign_conversion --build_tag_filters=-no_wsign_conversion //au/...:all //release/...:all
27 changes: 0 additions & 27 deletions .github/workflows/clang11-ubuntu.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/clang14-ubuntu.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/clang17-ubuntu.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/gcc12-ubuntu.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/gcc15-ubuntu.yml

This file was deleted.