diff --git a/.buildkite/linux_amd64.yml b/.buildkite/linux_amd64.yml index c9e5a06..1ff417c 100644 --- a/.buildkite/linux_amd64.yml +++ b/.buildkite/linux_amd64.yml @@ -2,16 +2,12 @@ agents: queue: "agent-runners-linux-amd64" steps: - - label: ":bazel: Build on gcc" + - label: ":bazel: Build and Test on gcc" commands: - - CC=gcc bazelisk build //... - - label: ":bazel: Test on gcc" - commands: - - CC=gcc bazelisk test //... + - CC=gcc bazelisk build --config=default_compiler_opt //... + - CC=gcc bazelisk test --config=default_compiler_opt //... - - label: ":bazel: Build on Clang" - commands: - - CC=clang bazelisk build //... - - label: ":bazel: Test on Clang" + - label: ":bazel: Build and Test on Clang" commands: - - CC=clang bazelisk test //... + - CC=clang bazelisk build --config=default_compiler_opt //... + - CC=clang bazelisk test --config=default_compiler_opt //... diff --git a/.buildkite/windows_amd64.yml b/.buildkite/windows_amd64.yml index ad18bd5..c79e162 100644 --- a/.buildkite/windows_amd64.yml +++ b/.buildkite/windows_amd64.yml @@ -4,7 +4,5 @@ agents: steps: - label: ":bazel: Build" commands: - - bazelisk build //... - - label: ":bazel: Test" - commands: - - bazelisk test //... + - bazelisk build --config=microsoft_compiler_opt //... + - bazelisk test --config=microsoft_compiler_opt //... diff --git a/.github/workflows/ProjectCore.yml b/.github/workflows/ProjectCore.yml index cfc2786..d1b7c63 100644 --- a/.github/workflows/ProjectCore.yml +++ b/.github/workflows/ProjectCore.yml @@ -20,9 +20,9 @@ jobs: path: "~/.cache/bazel" key: bazel - name: Building... - run: bazelisk build //... + run: bazelisk build --config=microsoft_compiler_opt //... - name: Testing... - run: bazelisk test //... + run: bazelisk test --config=microsoft_compiler_opt //... ubuntu-latest-gcc: runs-on: ubuntu-latest @@ -37,9 +37,9 @@ jobs: - name: Version run: gcc --version - name: Building... - run: CC=gcc bazelisk build //... + run: CC=gcc bazelisk build --config=default_compiler_opt //... - name: Testing... - run: CC=gcc bazelisk test //... + run: CC=gcc bazelisk test --config=default_compiler_opt //... ubuntu-latest-clang: runs-on: ubuntu-latest @@ -59,6 +59,6 @@ jobs: - name: Version run: clang --version - name: Building... - run: CC=clang++-17 bazelisk build //... + run: CC=clang++-17 bazelisk build --config=default_compiler_opt //... - name: Testing... - run: CC=clang++-17 bazelisk test //... + run: CC=clang++-17 bazelisk test --config=default_compiler_opt //...