Skip to content

Commit

Permalink
Add macOS runner for PR checks (#1261)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Mar 25, 2023
1 parent d4ba479 commit 8960e80
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,16 @@ jobs:

- name: Test
run: dotnet test --configuration Release --logger GitHubActions

macos:
runs-on: macos-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1

steps:
- name: Checkout source code
uses: actions/checkout@v3

- name: Test
run: dotnet test --configuration Release --logger GitHubActions
6 changes: 6 additions & 0 deletions Jint.Tests/Runtime/EngineLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ public class EngineLimitTests
[Fact]
public void ShouldAllowReasonableCallStackDepth()
{
if (OperatingSystem.IsMacOS())
{
// stack limit differ quite a lot
return;
}

#if RELEASE
const int FunctionNestingCount = 960;
#else
Expand Down

0 comments on commit 8960e80

Please sign in to comment.