Skip to content

Commit

Permalink
Change shell to cmd on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Nov 14, 2024
1 parent bca7b58 commit bfb187c
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ jobs:
include:
- os: windows
platform: windows
shell: cmd
shelltype: cmd
- os: macos
platform: macos
shell: bash
shelltype: bash
- os: ubuntu-latest
platform: linux
shell: bash
shelltype: bash
filter: --where="Category != Audio"
# - os: linux
# platform: linux
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
CI: true

- name: Run DirectX Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll
env:
CI: true
Expand All @@ -256,67 +256,67 @@ jobs:
# Run the DesktopGL tests on all platforms using NUnitLite runner not dotnet test
# We have to run this is bits because the tests crash if too many are run in one go?
- name: Run Framework Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Framework ${{matrix.filter}}
env:
CI: true
working-directory: tests-desktopgl

- name: Run Audio Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Audio
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Input Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Input
env:
CI: true
working-directory: tests-desktopgl

- name: Run Visual Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Visual
env:
CI: true
working-directory: tests-desktopgl

- name: Run Game Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --where="Category = GameTest"
env:
CI: true
working-directory: tests-desktopgl

- name: Run Graphics.BlendStateTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.BlendStateTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.DepthStencilStateTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.DepthStencilStateTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.EffectTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.EffectTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.GraphicsAdapterTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.GraphicsAdapterTest
env:
CI: true
Expand All @@ -332,151 +332,151 @@ jobs:
# if: runner.environment != 'github-hosted'

- name: Run Graphics.IndexBufferTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.IndexBufferTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.MiscellaneousTests Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.MiscellaneousTests
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.ModelTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ModelTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.OcclusionQueryTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.OcclusionQueryTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.RasterizerStateTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.RasterizerStateTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.RenderTarget2DTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.RenderTarget2DTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.RenderTargetCubeTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.RenderTargetCubeTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.SamplerStateTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.SamplerStateTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.ScissorRectangleTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ScissorRectangleTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.ShaderTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ShaderTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.SpriteBatchTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.SpriteBatchTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.SpriteFontTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.SpriteFontTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.Texture2DNonVisualTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture2DNonVisualTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.Texture2DTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture2DTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.Texture3DNonVisualTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture3DNonVisualTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.Texture3DTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture3DTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.TextureCubeTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.TextureCubeTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.VertexBufferTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.VertexBufferTest
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment != 'github-hosted'

- name: Run Graphics.ViewportTest Tests
shell: ${{matrix.shell}}
shell: ${{matrix.shelltype}}
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ViewportTest
env:
CI: true
Expand Down

0 comments on commit bfb187c

Please sign in to comment.