-
Notifications
You must be signed in to change notification settings - Fork 4
61 lines (45 loc) · 1.43 KB
/
compile-and-run-x64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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: Quick Validate Build
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
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_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