-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a flag for just printing the version and quiting (#41)
* Adds a flag for just printing the version and quiting * Validate execution in updated workflow
- Loading branch information
Showing
3 changed files
with
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,33 @@ | ||
# This is a workflow triggered by PR or triggered manually | ||
# Runs quick performance tests and reports the comparison against HEAD | ||
# Test should take less than 10 minutes to run on current self-hosted devices | ||
name: "Compile and Run on x64" | ||
name: "Validate Build" | ||
|
||
# Controls when the action will run. | ||
on: | ||
push: | ||
on: push | ||
|
||
# Env variables | ||
env: | ||
SG_COMMIT: 2ab01ac | ||
GITHUB_CONTEXT: ${{ toJson(github) }} | ||
|
||
jobs: | ||
Compile_and_Run_All: | ||
name: Compile and run wasm-score benchmarks | ||
Validate_Build: | ||
name: Validate Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: echo "$GITHUB_CONTEXT" | ||
- run: | | ||
# Create and Push Branch | ||
./build.sh | ||
docker run -i wasmscore /bin/bash wasmscore.sh | ||
docker run -i wasmscore /bin/bash wasmscore.sh -t quickrun_all | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Print context | ||
run: echo "$GITHUB_CONTEXT" | ||
|
||
- name: Build container | ||
run: ./build.sh | ||
|
||
- name: Check Version | ||
run: docker run wasmscore -v | ||
|
||
- name: Check QuickRun | ||
run: docker run wasmscore -t quickrun_all | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Global variables used by scripts for docker building and launching | ||
IMAGE_NAME="wasmscore" | ||
IMAGE_VERSION="v0.1.3.c052603" | ||
IMAGE_VERSION="v0.2.0.8174ad4" |
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