Skip to content

Commit

Permalink
using -p Boa for jasonwilliams/boa#247
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Feb 12, 2020
1 parent ef119e4 commit 1bbf23d
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 95 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,25 @@ async function main() {
await exec.exec("cargo", ["install", "critcmp"]);

core.debug("### Benchmark starting ###");
await exec.exec("cargo", ["bench", "--", "--save-baseline", "changes"]);
await exec.exec("cargo", [
"bench",
"-p",
"Boa",
"--",
"--save-baseline",
"changes"
]);
core.debug("Changes benchmarked");
await exec.exec("git", ["checkout", "master"]);
core.debug("Checked out to master branch");
await exec.exec("cargo", ["bench", "--", "--save-baseline", "master"]);
await exec.exec("cargo", [
"bench",
"-p",
"Boa",
"--",
"--save-baseline",
"master"
]);
core.debug("Master benchmarked");

const options = {};
Expand Down
159 changes: 71 additions & 88 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"author": "",
"license": "ISC",
"dependencies": {
"@actions/core": "^1.1.3",
"@actions/exec": "^1.0.1",
"@actions/github": "^1.1.0"
"@actions/core": "^1.2.1",
"@actions/exec": "^1.0.3",
"@actions/github": "^2.0.1"
},
"devDependencies": {
"@zeit/ncc": "^0.20.5"
"@zeit/ncc": "^0.21.0"
}
}

0 comments on commit 1bbf23d

Please sign in to comment.