-
Notifications
You must be signed in to change notification settings - Fork 0
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 #63 from awadell1/awadell1/issue47
Add a github action for PkgJogger
- Loading branch information
Showing
3 changed files
with
46 additions
and
18 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
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,30 @@ | ||
name: "Run Julia Benchmarks" | ||
description: "Takes your packages for a jog by running it's Benchmarks" | ||
author: "Alexius Wadell" | ||
|
||
branding: | ||
icon: activity | ||
color: purple | ||
|
||
inputs: | ||
prefix: | ||
description: "Prefix to be inserted before the julia command" | ||
default: "" | ||
required: false | ||
options: | ||
description: "Additional command line flags to pass to the julia command. e.g. `-O3`" | ||
default: "" | ||
required: false | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- id: install_pkgjogger | ||
run: julia --color=yes --eval | ||
'using Pkg; Pkg.develop(name="PkgJogger", path="${{ github.action_path }}")' | ||
shell: bash | ||
|
||
- id: run_benchmarks | ||
run: ${{ inputs.prefix }} julia --color=yes ${{ inputs.options }} --eval | ||
'using Pkg, PkgJogger; PkgJogger.ci()' | ||
shell: bash |
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
54c03c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
54c03c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/63779
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: