FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
mruby/.github/workflows/build.yml at master · lineCode/mruby · GitHub
lineCode
/
mruby
Public
forked from
mruby/mruby
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
mruby
/
.github
/
workflows
/
build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
107 lines (99 loc) · 3.08 KB
Breadcrumbs
mruby
/
.github
/
workflows
/
build.yml
Copy path
File metadata and controls
107 lines (99 loc) · 3.08 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name
:
Build & Test
on
:
[push, pull_request]
jobs
:
Ubuntu-1604
:
runs-on
:
ubuntu-16.04
env
:
MRUBY_CONFIG
:
ci/gcc-clang
steps
:
-
uses
:
actions/checkout@v1
-
name
:
apt
run
:
sudo apt install ruby gperf
-
name
:
build and test
run
:
rake -m -j4 gensym all test
Ubuntu-1804-gcc
:
runs-on
:
ubuntu-18.04
env
:
MRUBY_CONFIG
:
ci/gcc-clang
CC
:
gcc
CXX
:
g++
steps
:
-
uses
:
actions/checkout@v1
-
name
:
apt
run
:
sudo apt install ruby gperf gcc g++
-
name
:
build and test
run
:
rake -m -j4 gensym all test
Ubuntu-1804-clang
:
runs-on
:
ubuntu-18.04
env
:
MRUBY_CONFIG
:
ci/gcc-clang
CC
:
clang
CXX
:
clang++
steps
:
-
uses
:
actions/checkout@v1
-
name
:
apt
run
:
sudo apt install ruby gperf
-
name
:
build and test
run
:
rake -m -j4 gensym all test
macOS
:
runs-on
:
macos-latest
env
:
MRUBY_CONFIG
:
ci/gcc-clang
steps
:
-
uses
:
actions/checkout@v1
-
name
:
brew
run
:
brew install ruby gperf
-
name
:
build and test
run
:
rake -m -j4 gensym all test
Windows-MinGW
:
runs-on
:
windows-latest
env
:
MRUBY_CONFIG
:
ci/gcc-clang
CFLAGS
:
-g -O1 -Wall -Wundef
steps
:
-
uses
:
actions/checkout@v1
-
name
:
chocolatey
run
:
choco install -y ruby gperf
-
name
:
build
run
:
rake -E 'STDOUT.sync=true' -j4 gensym all test
Windows-Cygwin
:
runs-on
:
windows-latest
env
:
MRUBY_CONFIG
:
ci/gcc-clang
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
true
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
actions/cache@v1
with
:
path
:
C:\Users\runneradmin\AppData\Local\Temp\chocolatey
key
:
${{ runner.os }}-cygwin-chocolatey-${{ matrix.os }}-${{ github.sha }}
restore-keys
:
|
${{ runner.os }}-cygwin-chocolatey-${{ matrix.os }}-
${{ runner.os }}-cygwin-chocolatey-
-
name
:
chocolatey
run
:
choco install -y cygwin
-
name
:
Install cygwin packages
shell
:
cmd
run
:
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -l C:/tools/cygwin/package -s http://mirrors.kernel.org/sourceware/cygwin/ -P gcc-core,gcc-g++,make,gperf,ruby
-
name
:
Set ENV
run
:
|
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin'
-
name
:
build and test
shell
:
cmd
run
:
C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -E 'STDOUT.sync=true' -m gensym all test
Windows-VC
:
runs-on
:
windows-latest
env
:
MRUBY_CONFIG
:
ci/msvc
#
TODO(take-cheeze): Re-enable /O2
CFLAGS
:
"
/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS
"
CXXFLAGS
:
"
/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS
"
steps
:
-
uses
:
actions/checkout@v1
-
name
:
chocolatey
run
:
choco install -y ruby gperf
-
name
:
build and test
shell
:
cmd
run
:
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
rake -E "STDOUT.sync=true" gensym all test
Back
|
FazBrowse Home
|
New Git URL