-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from HolyGrailSortProject/further-tester-improv…
…ements Further tester improvements
- Loading branch information
Showing
3 changed files
with
312 additions
and
132 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Test sorts w/ better benchmark | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
averageCount: | ||
description: The number of times to average a run | ||
required: true | ||
default: "3" | ||
|
||
jobs: | ||
bench_java: | ||
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" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 8 | ||
distribution: zulu | ||
- name: Build Tester | ||
run: javac -d bin src/holygrail/*.java | ||
- name: Checkout RGS | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: HolyGrailSortProject/Rewritten-Grailsort | ||
path: RGS | ||
- name: Build RGS | ||
run: javac -d bin "../../../RGS/Java/Summer Dragonfly et al.'s Rewritten Grailsort for Java/src/sort/GrailSort.java" | ||
- name: Run Tester | ||
run: java -Xmx12G -cp bin holygrail.Tester -average ${{ github.event.inputs.averageCount }} |
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
Oops, something went wrong.