Add NuGet.config with nuget.org and modelingevolution sources #18
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ '**' ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install native dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libjpeg8 libjpeg8-dev | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore src/ModelingEvolution.Mjpeg/ModelingEvolution.Mjpeg.csproj | |
| - name: Build | |
| run: dotnet build src/ModelingEvolution.Mjpeg/ModelingEvolution.Mjpeg.csproj -c Release --no-restore | |
| - name: Run Tests | |
| run: dotnet test src/ModelingEvolution.Mjpeg.Tests/ModelingEvolution.Mjpeg.Tests.csproj -c Release --logger "console;verbosity=normal" |