diff --git a/.github/workflows/compile-and-run-x64.yml b/.github/workflows/compile-and-run-x64.yml index 0218fa2..cc70dca 100644 --- a/.github/workflows/compile-and-run-x64.yml +++ b/.github/workflows/compile-and-run-x64.yml @@ -4,12 +4,17 @@ name: "Validate Build" # Controls when the action will run. -on: push +on: + push: + branches: [main] + pull_request: + branches: [main] jobs: - Validate_Build: - name: Validate Build + Quick_Validate_Build: + name: Quick Validate Build runs-on: ubuntu-latest + if: ${{ github.event_name == 'pull_request' }} steps: - name: Checkout code uses: actions/checkout@v3 @@ -26,6 +31,31 @@ jobs: - name: Check Version run: docker run wasmscore -v | grep "is valid" - - name: Check QuickRun + - name: QuickRun WasmScore + run: docker run wasmscore -t quickrun_wasmscore + + Full_Validate_Build: + name: Full Validate Build + runs-on: ubuntu-latest + if: ${{ github.event_name == 'push' }} + 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" + + - name: QuickRun WasmScore run: docker run wasmscore -t quickrun_all + + diff --git a/config.inc b/config.inc index 5953cc5..1edebfa 100644 --- a/config.inc +++ b/config.inc @@ -1,3 +1,3 @@ # Global variables used by scripts for docker building and launching IMAGE_NAME="wasmscore" -IMAGE_VERSION="v0.2.0.ac6da83" +IMAGE_VERSION="v0.2.0.2497a1f"