File tree Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 44name : " Validate Build"
55
66# Controls when the action will run.
7- on : push
7+ on :
8+ push :
9+ branches : [main]
10+ pull_request :
11+ branches : [main]
812
913jobs :
10- Validate_Build :
11- name : Validate Build
14+ Quick_Validate_Build :
15+ name : Quick Validate Build
1216 runs-on : ubuntu-latest
17+ if : ${{ github.event_name == 'pull_request' }}
1318 steps :
1419 - name : Checkout code
1520 uses : actions/checkout@v3
2631 - name : Check Version
2732 run : docker run wasmscore -v | grep "is valid"
2833
29- - name : Check QuickRun
34+ - name : QuickRun WasmScore
35+ run : docker run wasmscore -t quickrun_wasmscore
36+
37+ Full_Validate_Build :
38+ name : Full Validate Build
39+ runs-on : ubuntu-latest
40+ if : ${{ github.event_name == 'push' }}
41+ steps :
42+ - name : Checkout code
43+ uses : actions/checkout@v3
44+
45+ - name : Print context
46+ run : echo "$GITHUB_CONTEXT"
47+
48+ - name : Build container
49+ run : ./build.sh
50+
51+ - name : Print Version
52+ run : docker run wasmscore -v
53+
54+ - name : Check Version
55+ run : docker run wasmscore -v | grep "is valid"
56+
57+ - name : QuickRun WasmScore
3058 run : docker run wasmscore -t quickrun_all
3159
60+
61+
Original file line number Diff line number Diff line change 11# Global variables used by scripts for docker building and launching
22IMAGE_NAME = "wasmscore"
3- IMAGE_VERSION = "v0.2.0.ac6da83 "
3+ IMAGE_VERSION = "v0.2.0.2497a1f "
You can’t perform that action at this time.
0 commit comments