Skip to content

Commit

Permalink
Update build.yaml (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers authored Feb 10, 2025
1 parent b98252b commit e70fbcc
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,26 +373,32 @@ jobs:
java-version: ${{ matrix.jdk_version }}
check-latest: true

- uses: actions/setup-dotnet@v4
if: ${{ matrix.framework == 'net6.0' }}
with:
dotnet-version: |
6.x
- name: Execute KNetTest on ${{ matrix.os }} with ${{ matrix.jdk_vendor }} ${{ matrix.jdk_version }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
run: dotnet ./bin/${{ matrix.framework }}/KNetTest.dll localhost:9092 useConsumeCallback randomizeTopicName
env:
JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ENCODED_2_5_17 }}

- name: Execute KNetTest withBigBigExtraValue on ${{ matrix.os }} with ${{ matrix.jdk_vendor }} ${{ matrix.jdk_version }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
run: dotnet ./bin/${{ matrix.framework }}/KNetTest.dll localhost:9092 useConsumeCallback randomizeTopicName withBigBigExtraValue
env:
JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ENCODED_2_5_17 }}

- name: Execute KNetTest runBuffered on ${{ matrix.os }} with ${{ matrix.jdk_vendor }} ${{ matrix.jdk_version }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
run: dotnet ./bin/${{ matrix.framework }}/KNetTest.dll localhost:9092 useConsumeCallback randomizeTopicName runBuffered
env:
JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ENCODED_2_5_17 }}

- name: Execute KNetTest runBuffered withBigBigExtraValue on ${{ matrix.os }} with ${{ matrix.jdk_vendor }} ${{ matrix.jdk_version }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
run: dotnet ./bin/${{ matrix.framework }}/KNetTest.dll localhost:9092 useConsumeCallback randomizeTopicName runBuffered withBigBigExtraValue
env:
JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ENCODED_2_5_17 }}
Expand All @@ -408,7 +414,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'macos-latest', 'macos-13' , 'windows-latest' ]
os: [ 'macos-latest', 'windows-latest' ]
framework: [ 'net462', 'net6.0', 'net8.0' ]
jdk_vendor: [ 'temurin', 'microsoft', 'corretto', 'zulu', 'oracle']
jdk_version: [ '11', '17', '21' ] # only LTS versions
Expand All @@ -417,10 +423,6 @@ jobs:
framework: net462
- os: macos-latest
framework: net6.0
- os: macos-13
framework: net462
- os: macos-13
framework: net6.0
- jdk_vendor: oracle
jdk_version: 11

Expand Down Expand Up @@ -449,6 +451,12 @@ jobs:
java-version: ${{ matrix.jdk_version }}
check-latest: true

- uses: actions/setup-dotnet@v4
if: ${{ matrix.framework == 'net6.0' }}
with:
dotnet-version: |
6.x
- name: Start Kafka on ${{ matrix.os }} with ${{ matrix.jdk_vendor }} ${{ matrix.jdk_version }}
if: ${{ matrix.os != 'windows-latest' }}
shell: pwsh
Expand Down

0 comments on commit e70fbcc

Please sign in to comment.