|
7 | 7 | DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - ci: |
| 10 | + build: |
11 | 11 | runs-on: windows-2025 |
12 | | - strategy: |
13 | | - fail-fast: false |
14 | | - matrix: |
15 | | - FIREBIRD_SELECTION: [FB30, FB40, FB50] |
16 | | - TEST_SUITE: [Tests-FirebirdClient-Default-Compression-CryptRequired, Tests-FirebirdClient-Default-NoCompression-CryptRequired, Tests-FirebirdClient-Default-Compression-CryptDisabled, Tests-FirebirdClient-Default-NoCompression-CryptDisabled, Tests-FirebirdClient-Embedded, Tests-EFCore, Tests-EFCore-Functional, Tests-EF6] |
17 | | - timeout-minutes: 120 |
| 12 | + timeout-minutes: 30 |
18 | 13 | steps: |
19 | 14 | - name: Checkout |
20 | 15 | uses: actions/checkout@v5 |
21 | | - |
| 16 | + |
22 | 17 | - name: .NET 10.0 |
23 | 18 | uses: actions/setup-dotnet@v5 |
24 | 19 | with: |
25 | 20 | dotnet-version: 10.0.x |
26 | 21 |
|
| 22 | + - name: NuGet Cache |
| 23 | + uses: actions/cache@v4 |
| 24 | + with: |
| 25 | + path: ~/.nuget/packages |
| 26 | + key: nuget-${{ hashFiles('**/*.csproj', '**/Directory.Build.props', '**/Versions.props') }} |
| 27 | + restore-keys: nuget- |
| 28 | + |
27 | 29 | - name: Build |
28 | 30 | run: | |
29 | 31 | try { |
|
36 | 38 | } |
37 | 39 | shell: powershell |
38 | 40 |
|
| 41 | + - name: Upload Build Output |
| 42 | + uses: actions/upload-artifact@v4 |
| 43 | + with: |
| 44 | + name: build-output |
| 45 | + path: '.\\out\\' |
| 46 | + |
| 47 | + - name: Upload Test Binaries |
| 48 | + uses: actions/upload-artifact@v4 |
| 49 | + with: |
| 50 | + name: test-binaries |
| 51 | + path: '.\\src\\**\\bin\\' |
| 52 | + |
| 53 | + test: |
| 54 | + needs: build |
| 55 | + runs-on: windows-2025 |
| 56 | + strategy: |
| 57 | + fail-fast: false |
| 58 | + matrix: |
| 59 | + FIREBIRD_SELECTION: [FB30, FB40, FB50] |
| 60 | + TEST_SUITE: [Tests-FirebirdClient-Default-Compression-CryptRequired, Tests-FirebirdClient-Default-NoCompression-CryptRequired, Tests-FirebirdClient-Default-Compression-CryptDisabled, Tests-FirebirdClient-Default-NoCompression-CryptDisabled, Tests-FirebirdClient-Embedded, Tests-EFCore, Tests-EFCore-Functional, Tests-EF6] |
| 61 | + timeout-minutes: 120 |
| 62 | + steps: |
| 63 | + - name: Checkout |
| 64 | + uses: actions/checkout@v5 |
| 65 | + |
| 66 | + - name: .NET 10.0 |
| 67 | + uses: actions/setup-dotnet@v5 |
| 68 | + with: |
| 69 | + dotnet-version: 10.0.x |
| 70 | + |
| 71 | + - name: Download Test Binaries |
| 72 | + uses: actions/download-artifact@v4 |
| 73 | + with: |
| 74 | + name: test-binaries |
| 75 | + path: '.\\src\\' |
| 76 | + |
39 | 77 | - name: Tests |
40 | 78 | run: | |
41 | 79 | try { |
|
49 | 87 | exit 1 |
50 | 88 | } |
51 | 89 | shell: powershell |
52 | | - |
53 | | - - name: Publish Artifacts |
54 | | - uses: actions/upload-artifact@v4 |
55 | | - with: |
56 | | - name: 'ci_${{ matrix.TEST_SUITE }}_${{ matrix.FIREBIRD_SELECTION }}_${{ env.CONFIGURATION }}' |
57 | | - path: '.\\out\\' |
|
0 commit comments