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

Additional options for running the standardised build process #50

Merged
merged 22 commits into from
Sep 10, 2024

Conversation

JamesDawson
Copy link
Contributor

@JamesDawson JamesDawson commented Sep 6, 2024

  • New reusable workflow (scripted-build-single-job-pipeline.yml) that runs the standardised build process using a single job

    • For smaller builds can be quicker than the original workflow where the overhead of running multiple jobs outweighs the parallelism benefit (though generally still slower than the composite action below)
    • Consuming builds still require a second job to enable using arbitrary environment variables & secrets
  • New composite action (run-build-process) that encapsulates the standardised build process

    • Provides an alternative to using reusable workflows and allows consuming workflows to run the build using a single job
    • Typically shorter build times than the above single job workflow
    • Consuming builds require marginally more boilerplate than when using a reusable workflow
  • Update to existing run-scripted-build composite action to enable the caching related steps to be optional (i.e. when not running via multiple jobs).

The validating CI workflows in this repo have been updated to cover these new options and serve as usage examples for each one.

Copy link

github-actions bot commented Sep 6, 2024

Test Results

1 tests   1 ✅  0s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 0abdd4b.

♻️ This comment has been updated with latest results.

@JamesDawson JamesDawson changed the title Add single job build workflow Additional options for running the standardised build process Sep 9, 2024
Copy link

github-actions bot commented Sep 9, 2024

Code Coverage Summary Report - Linux (No TFM)

Summary
Generated on: 09/09/2024 - 14:04:43
Parser: Cobertura
Assemblies: 2
Classes: 2
Files: 2
Line coverage: 100% (4 of 4)
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 21
Covered branches: 0
Total branches: 0
Method coverage: Feature is only available for sponsors

Coverage

TestLib - 100%
Name Line Branch
TestLib 100% ****
TestLib.Class1 100%
TestLib.Tests - 100%
Name Line Branch
TestLib.Tests 100% ****
TestLib.Tests.Tests 100%

Copy link

github-actions bot commented Sep 9, 2024

Code Coverage Summary Report - Linux (net8.0)

Summary
Generated on: 09/09/2024 - 14:05:08
Parser: Cobertura
Assemblies: 2
Classes: 2
Files: 2
Line coverage: 100% (4 of 4)
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 21
Covered branches: 0
Total branches: 0
Method coverage: Feature is only available for sponsors

Coverage

TestLib - 100%
Name Line Branch
TestLib 100% ****
TestLib.Class1 100%
TestLib.Tests - 100%
Name Line Branch
TestLib.Tests 100% ****
TestLib.Tests.Tests 100%

Copy link

github-actions bot commented Sep 9, 2024

Code Coverage Summary Report - Windows (net8.0)

Summary
Generated on: 9/9/2024 - 2:07:47 PM
Parser: Cobertura
Assemblies: 2
Classes: 2
Files: 2
Line coverage: 100% (4 of 4)
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 21
Covered branches: 0
Total branches: 0
Method coverage: Feature is only available for sponsors

Coverage

TestLib - 100%
Name Line Branch
TestLib 100% ****
TestLib.Class1 100%
TestLib.Tests - 100%
Name Line Branch
TestLib.Tests 100% ****
TestLib.Tests.Tests 100%

@JamesDawson JamesDawson merged commit b2f903e into main Sep 10, 2024
14 of 15 checks passed
@JamesDawson JamesDawson deleted the feature/single-job-build-workflow branch September 10, 2024 10:31
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