Skip to content

feat: update to dotnet8 #93

feat: update to dotnet8

feat: update to dotnet8 #93

Workflow file for this run

name: pre-merge check
on:
push:
branches:
- master
- develop
- features/sprint*
- stable_v*
- ci/*
pull_request:
branches:
- master
- develop
- features/sprint*
- stable_v*
jobs:
test-dotnet8:
name: dotnet 8.0
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, windows-2022, ubuntu-22.04]
steps:
- name: setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- uses: actions/checkout@v4
- name: build and test
if: runner.os != 'Windows'
run: |
./tools/build.sh
./tools/test.sh
- name: build and test on win
if: runner.os == 'Windows'
run: |
./tools/build.bat
./tools/test.bat
test-dotnet7:
name: dotnet 7.0
runs-on: ${{ matrix.os }}
strategy:
matrix:
#os: [macos-13, windows-2022, ubuntu-22.04]
os: [windows-2022, ubuntu-22.04]
steps:
- name: setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- uses: actions/checkout@v4
- name: build and test
if: runner.os != 'Windows'
run: |
./tools/build_net7.sh
./tools/test_net7.sh
- name: build and test on win
if: runner.os == 'Windows'
run: |
./tools/build_net7.bat
./tools/test_net7.bat
test-dotnet6:
name: dotnet 6.0
runs-on: ${{ matrix.os }}
strategy:
matrix:
#os: [macos-13, windows-2022, ubuntu-22.04]
os: [windows-2022, ubuntu-22.04]
steps:
- name: setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- uses: actions/checkout@v4
- name: build and test
if: runner.os != 'Windows'
run: |
./tools/build_net6.sh
./tools/test_net6.sh
- name: build and test on win
if: runner.os == 'Windows'
run: |
./tools/build_net6.bat
./tools/test_net6.bat