removed the forloop #4
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-Test | |
on: | |
push: | |
branches: "*" | |
paths-ignore: | |
- '**/build-release.yml' | |
- 'appveyor.yml' | |
- '**/README.md' | |
pull_request: | |
branches: "*" | |
paths-ignore: | |
- '**/build-release.yml' | |
- 'appveyor.yml' | |
- '**/README.md' | |
env: | |
DOTNET_NOLOGO: false | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
NUGET_XMLDOC_MODE: skip | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-12, ubuntu-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get submodules | |
run: | | |
git config --global url."https://".insteadOf git:// | |
git submodule update --init --recursive | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
include-prerelease: false | |
- name: Restore | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release | |
- name: Test | |
run: dotnet test --verbosity normal tests/ClassicUO.UnitTests | |