forked from red/red
-
Notifications
You must be signed in to change notification settings - Fork 0
92 lines (75 loc) · 2.34 KB
/
main.yml
File metadata and controls
92 lines (75 loc) · 2.34 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Windows
on: [push]
jobs:
Core:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: setup red repo
run: |
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run view test
run: |
rebview.exe -qws tests\run-core-tests.r --batch
rebview.exe -qws system\tests\run-all.r --batch
shell: cmd
- uses: actions/upload-artifact@v1
if: failure()
with:
name: core-test-log
path: quick-test/quick-test.log
View:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: setup red repo
run: |
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run view test
run: rebview.exe -qws tests\run-view-tests.r --batch
shell: cmd
- uses: actions/upload-artifact@v1
if: failure()
with:
name: view-test-log
path: quick-test/quick-test.log
Regression:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: setup red repo
run: |
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run regression test
run: rebview.exe -qws tests\run-regression-tests.r --batch
shell: cmd
- uses: actions/upload-artifact@v1
if: failure()
with:
name: regression-test-log
path: quick-test/quick-test.log
Each-Mode:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: setup red repo
run: |
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run view test
run: |
rebview.exe -qws tests\run-all.r --each
rebview.exe -qws system\tests\run-all.r --each
shell: cmd
- uses: actions/upload-artifact@v1
if: failure()
with:
name: each-test-log
path: quick-test/quick-test.log