Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup GitHub Actions build and unit test CI jobs #418

Merged
merged 1 commit into from
Aug 18, 2020

Conversation

chrisd8088
Copy link
Collaborator

We define GitHub Actions YAML which runs a simplified version of the BuildScalarFor*.{bat,sh} and RunUnitTests.{bat,sh} scripts under Scripts/. We run these jobs on all PRs to the main branch.

One difference is that we use a Release build configuration instead of using a Build configuration as our default.

We also do not define the ScalarVersion MSBuild property and instead rely on what is set in Directory.Build.props.

We include builds on three Ubuntu versions to align with what runs for GCM Core, and to support Linux functional test runs in the future. These jobs should succeed as-is even without Linux-specific platform code; see https://github.com/chrisd8088/scalar/actions/runs/211493921 for an example run.

/cc @kyle-rader
/cc git-ecosystem/git-credential-manager#157 from which this was derived

We define GitHub Actions YAML which runs a simplified version of
the BuildScalarFor*.{bat,sh} and RunUnitTests.{bat,sh} scripts
under Scripts/.

One difference is that we use a Release build configuration
instead of using a Build configuration as our default.

We also do not define the ScalarVersion MSBuild property and
instead rely on what is set in Directory.Build.props.

h/t kyle-rader
@chrisd8088 chrisd8088 changed the title setup GitHub Actions build and unit test CI jobs Setup GitHub Actions build and unit test CI jobs Aug 17, 2020
Copy link
Contributor

@derrickstolee derrickstolee left a comment

Choose a reason for hiding this comment

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

LGTM. An excellent milestone!

@derrickstolee derrickstolee merged commit 5132721 into microsoft:main Aug 18, 2020
@chrisd8088 chrisd8088 deleted the github-actions-ci branch August 18, 2020 06:36
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.

2 participants