mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Optimize CI workflows with single centralized build and remove redundant workflow (#4327)
* Initial plan * Optimize CI workflows to share build artifacts across test jobs Co-authored-by: tig <585482+tig@users.noreply.github.com> * Add documentation comments to workflow files Co-authored-by: tig <585482+tig@users.noreply.github.com> * Add clarifying comments to integration-tests workflow Co-authored-by: tig <585482+tig@users.noreply.github.com> * Refactor to use single centralized build workflow Co-authored-by: tig <585482+tig@users.noreply.github.com> * Fix Release build by adding AOT and SelfContained project restore Co-authored-by: tig <585482+tig@users.noreply.github.com> * Fix Release build by building Terminal.Gui first before AOT projects Co-authored-by: tig <585482+tig@users.noreply.github.com> * Fix Release build by packing Terminal.Gui and building AOT projects separately Co-authored-by: tig <585482+tig@users.noreply.github.com> * Remove redundant build-release.yml workflow Co-authored-by: tig <585482+tig@users.noreply.github.com> * Suppress Obsolete warnings (0618;0612) in build workflow Co-authored-by: tig <585482+tig@users.noreply.github.com> * Fix NoWarn parameter by quoting to prevent shell interpretation Co-authored-by: tig <585482+tig@users.noreply.github.com> * Fix NoWarn parameter syntax - use comma separator and /p: prefix Co-authored-by: tig <585482+tig@users.noreply.github.com> * Fix NoWarn parameter with URL-encoded semicolon and add documentation Co-authored-by: tig <585482+tig@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tig <585482+tig@users.noreply.github.com> Co-authored-by: Tig <tig@users.noreply.github.com>
This commit is contained in:
19
.github/workflows/integration-tests.yml
vendored
19
.github/workflows/integration-tests.yml
vendored
@@ -11,9 +11,14 @@ on:
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
build_and_test_debug:
|
||||
# Call the build workflow to build the solution once
|
||||
build:
|
||||
uses: ./.github/workflows/build.yml
|
||||
|
||||
integration_tests:
|
||||
name: Integration Tests
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: build
|
||||
strategy:
|
||||
# Turn off fail-fast to let all runners run even if there are errors
|
||||
fail-fast: true
|
||||
@@ -32,12 +37,14 @@ jobs:
|
||||
dotnet-version: 8.x
|
||||
dotnet-quality: 'ga'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
dotnet restore
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-artifacts
|
||||
path: .
|
||||
|
||||
- name: Build IntegrationTests
|
||||
run: dotnet build Tests/IntegrationTests --configuration Debug --no-restore
|
||||
- name: Restore NuGet packages
|
||||
run: dotnet restore
|
||||
|
||||
- name: Set VSTEST_DUMP_PATH
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user