Skip to content

Setup GitHub Actions build and unit test CI jobs#418

Merged
derrickstolee merged 1 commit intomicrosoft:mainfrom
chrisd8088:github-actions-ci
Aug 18, 2020
Merged

Setup GitHub Actions build and unit test CI jobs#418
derrickstolee merged 1 commit intomicrosoft:mainfrom
chrisd8088:github-actions-ci

Conversation

@chrisd8088
Copy link
Contributor

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