Adds a flag for just printing the version and quiting (#41) #108
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 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: "Validate Build" | |
# Controls when the action will run. | |
on: push | |
# Env variables | |
env: | |
SG_COMMIT: 2ab01ac | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
jobs: | |
Validate_Build: | |
name: Validate Build | |
runs-on: ubuntu-latest | |
steps: | |
- 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 | |