Update issue templates #417
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- master | |
- release-* | |
- dev-* | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Apt update | |
run: sudo apt-get update | |
- name: Install Mesa Vulkan graphics drivers | |
run: sudo apt install mesa-vulkan-drivers | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.x.x' | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build engine | |
run: dotnet build NoiseEngine/NoiseEngine.csproj --no-restore /p:DoNotBuildMainNative=true /p:DoNotBuildResources=true | |
- name: Build | |
run: dotnet build --no-restore /p:DoNotBuildMainNative=true | |
- name: Run tests | |
run: dotnet test --no-build --verbosity normal | |
timeout-minutes: 1 | |
env: | |
NOISEENGINE_NO_SUPPORTS: gui; |