Skip to content

Commit

Permalink
wip(buildkite integration): linux/windows in separated YML
Browse files Browse the repository at this point in the history
  • Loading branch information
0-Sacha committed Mar 14, 2024
1 parent 7d3ad75 commit 09d4e22
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .buildkite/linux_amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
agents:
queue: "agent-runners-linux-amd64"

steps:
- label: ":bazel: Build on gcc"
commands:
- CC=gcc bazelisk build --copt=-std=c++20 //...
- label: ":bazel: Test on gcc"
commands:
- CC=gcc bazelisk test --copt=-std=c++20 //...

- label: ":bazel: Build on Clang"
commands:
- CC=clang bazelisk build --copt=-std=c++20 //...
- label: ":bazel: Test on Clang"
commands:
- CC=clang bazelisk test --copt=-std=c++20 //...
10 changes: 7 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
agents:
queue: "agent-runners-windows-amd64"

steps:
- label: ":bazel: Build"
commands:
- bazelisk test --copt=/std:c++20 //...
- label: ":pipeline: Launch Windows Pipeline"
command: "buildkite-agent pipeline upload ./buildkite/windows_amd64.yml"
- label: ":pipeline: Launch Linux Pipeline"
command: "buildkite-agent pipeline upload ./buildkite/linux_amd64.yml"
2 changes: 1 addition & 1 deletion .buildkite/template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "ProjectCore"
steps:
- label: ":pipeline:"
- label: ":pipeline: Launch Embbeded pipeline.yml"
command: "buildkite-agent pipeline upload"
10 changes: 10 additions & 0 deletions .buildkite/windows_amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
agents:
queue: "agent-runners-windows-amd64"

steps:
- label: ":bazel: Build"
commands:
- bazelisk build --copt=/std:c++20 //...
- label: ":bazel: Test"
commands:
- bazelisk test --copt=/std:c++20 //...

0 comments on commit 09d4e22

Please sign in to comment.