Skip to content

Commit

Permalink
Switch to macOS and give 12 GB heap to the JVM
Browse files Browse the repository at this point in the history
-Xmx12G
  • Loading branch information
Gaming32 committed Nov 1, 2021
1 parent ff7b4f4 commit e83d7f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]

jobs:
test_java:
runs-on: ubuntu-latest
runs-on: macos-latest # Use macOS because it gives us more memory (14 GB instead of 7 GB)
defaults:
run:
working-directory: "Holy Grail Sort/Java/Summer Dragonfly et al.'s Rough Draft"
Expand All @@ -17,4 +17,4 @@ jobs:
- name: Build Tester
run: javac -d bin src/holygrail/*.java
- name: Run Tester
run: java -cp bin holygrail.Tester
run: java -Xmx12G -cp bin -XmX holygrail.Tester

0 comments on commit e83d7f8

Please sign in to comment.