Skip to content

Fix the version sha #111

Fix the version sha

Fix the version sha #111

# 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:
branches: [main]
pull_request:
branches: [main]
jobs:
Quick_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: Print Version
run: docker run wasmscore -v
- name: Check Version
run: docker run wasmscore -v | grep "is valid"
- run: QuickRun WasmScore
if: ${{ github.event_name == 'pull_request' }}
docker run wasmscore -t quickrun_wasmscore
- run: QuickRun All Benchmarks
if: ${{ github.event_name == 'push' }}
docker run wasmscore -t quickrun_all