try to fix GLIBCXX error due to net8.0 #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build_And_Test | |
on: | |
push: | |
branches: [ dev, main, 'feat/**' ] | |
pull_request: | |
branches: [ dev, main ] | |
jobs: | |
linux: | |
name: build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-latest, ubuntu-latest ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
7.0.x | |
6.0.x | |
- name: Show dotnet Version | |
run: | | |
dotnet --list-sdks | |
dotnet --list-runtimes | |
- name: Build with dotnet | |
run: | | |
dotnet build rdb-tools.sln | |
- name: Run tests on net8.0 | |
run: | | |
dotnet test tests/RDBParserTests/RDBParserTests.csproj |