Skip to content

Conversation

@anfelbar
Copy link
Collaborator

@anfelbar anfelbar commented Nov 22, 2022

About

Adding csharp support and hello world example.
Run with

Linux

bazel build --host_platform @io_bazel_rules_dotnet//dotnet/toolchain:linux_amd64_3.1.100 --platforms @io_bazel_rules_dotnet//dotnet/toolchain:linux_amd64_3.1.100 //csharp/...

MacOS

bazel build --host_platform @io_bazel_rules_dotnet//dotnet/toolchain:darwin_amd64_3.1.100 --platforms @io_bazel_rules_dotnet//dotnet/toolchain:darwin_amd64_3.1.100 //csharp/...

Progress #36

@anfelbar anfelbar mentioned this pull request Nov 22, 2022
8 tasks
@anfelbar anfelbar requested a review from jayconrod November 22, 2022 23:04
- name: Building //csharp directory (Linux)
if: runner.os == 'Linux'
run: bazel build //csharp/... --config=linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't need --config=linux or --config=macos here with the changes in .bazelrc. They should be enabled automatically.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So there is no need for two different steps, correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. Both runners should be able to run the same command.

anfelbar and others added 2 commits November 23, 2022 17:40
Co-authored-by: Jay Conrod <jay@engflow.com>
@anfelbar anfelbar merged commit ff8b908 into main Nov 23, 2022
@anfelbar anfelbar deleted the andres-csharp-example branch November 23, 2022 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants