Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Action to run CI on Windows, Linux, Mac #110

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
5f3ade7
reimplement Wren CLI as pure Wren
joshgoebel May 14, 2021
123d4b8
add -e for eval
joshgoebel May 15, 2021
7e52f1a
move resolveModule into Wren
joshgoebel May 16, 2021
1dca75e
move loadModule into Wren
joshgoebel May 16, 2021
7d8409d
run stdin via -
joshgoebel May 19, 2021
4e22ffb
dynamic library loading
joshgoebel May 19, 2021
628e02b
(chore) move CLI source into cli folder
joshgoebel May 19, 2021
fe7e76e
remove old C module resolve/load code
joshgoebel May 19, 2021
c59b4e3
Path class for Resolver
joshgoebel May 19, 2021
945dc8b
single CLI inc file
joshgoebel May 19, 2021
9521016
cli/path.wren
joshgoebel May 19, 2021
e9593b6
path: better support for windows
joshgoebel May 19, 2021
2e5b51b
mix in our path tests
joshgoebel May 19, 2021
0417a2c
rename: wrenc makefiles
joshgoebel May 20, 2021
9a85854
rename CLI, readme, docs, etc.
joshgoebel May 20, 2021
0702803
list what we added
joshgoebel May 20, 2021
a43d101
bundle essentials
joshgoebel May 20, 2021
95cb853
pre-requisites
joshgoebel May 20, 2021
527d4b0
(chore) push releases to GitHub
joshgoebel May 20, 2021
f722152
(fix) Stdin.readByte now propery removes single bytes from buffer
joshgoebel May 20, 2021
f622bda
(docs) add reflect module in readme
joshgoebel May 21, 2021
60d0b70
(enh) Runtime module
joshgoebel May 21, 2021
67133c0
(enh) disallow compiling into an existing named module
joshgoebel May 21, 2021
f12e1e5
add runtime to makefiles
joshgoebel May 22, 2021
8dcf213
declare extern
joshgoebel May 22, 2021
69c83eb
(enh) support absolutely paths for scripts
joshgoebel May 23, 2021
0d4a30e
(enh) controlled crashes should not include CLI in stack trace
joshgoebel May 23, 2021
54a7715
(enh) add Process.exit() and Process.exit(_)
joshgoebel May 23, 2021
d974ac5
(enh) Add `Stderr.write(_)` and `Stderr.print(_)`
joshgoebel May 23, 2021
98e05c1
(fix) correct number of slots
joshgoebel May 27, 2021
4c2f162
(fix) fix compiler warning
joshgoebel May 27, 2021
1de80e5
(fix) Process.exit works now
joshgoebel May 27, 2021
76fe0bd
adds Process.exec(cmd, [args])
joshgoebel Apr 28, 2021
61c4f42
(enh) Process.exec inherits stdout, stderr
joshgoebel May 27, 2021
fb720c7
add Process.exec to README
joshgoebel May 27, 2021
f87b2d9
passing tests
joshgoebel May 27, 2021
edd04be
bump version
joshgoebel May 27, 2021
58a2412
allow multiple wren_modules paths to be searched
joshgoebel May 28, 2021
03f9f5e
declare S_IRWXU on Windows platforms
joshgoebel May 29, 2021
2728e8f
CI & artifacts
joshgoebel May 18, 2021
9cfaeb8
(ci) build mac
joshgoebel May 18, 2021
1e77b9a
(ci) build windows
joshgoebel May 18, 2021
32965ce
(fix) test: cwd on windows
joshgoebel May 18, 2021
cf17196
(fix) test: pid test
joshgoebel May 18, 2021
dcf9bdf
(fix) mode test
joshgoebel May 18, 2021
06a46de
CI: dependencies/wren-essentials
joshgoebel May 31, 2021
533c9c2
(chore) split process.exec tests between unix/windows
joshgoebel May 31, 2021
a86a0b1
artifacts then test
joshgoebel May 31, 2021
ae25aaa
ensure slots, even for slot 0
joshgoebel May 31, 2021
6929bc1
(chore) windows CI: use debug build
joshgoebel May 31, 2021
1d01f12
(fix) proper number of slots, release fiber handle in case of err
joshgoebel May 31, 2021
ed75fe2
(fix) free resolver VM
joshgoebel May 31, 2021
835e99e
(fix) do not free stdinStream, let uvShutdown do it
joshgoebel May 31, 2021
b194c62
abstract path unit tests
joshgoebel May 31, 2021
c99e68e
(fix) Use Path for dirname resolution
joshgoebel May 31, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mix in our path tests
  • Loading branch information
joshgoebel committed May 20, 2021
commit 2e5b51b6c7f713d11cfac03130c799cc34951f3a
8 changes: 8 additions & 0 deletions util/test.py
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
import re
from subprocess import Popen, PIPE
import sys
import os
from threading import Timer

# Runs the tests.
@@ -394,6 +395,11 @@ def run_example(path):

walk(join(WREN_DIR, 'test'), run_test)
walk(join(WREN_DIR, 'example'), run_example)
err = os.system("./bin/wren_cli test/unit/path_test.wren")
if (err!=0):
failed += 1
else:
passed += 1

print_line()
if failed == 0:
@@ -405,5 +411,7 @@ def run_example(path):
for key in sorted(skipped.keys()):
print('Skipped ' + yellow(skipped[key]) + ' tests: ' + key)



if failed != 0:
sys.exit(1)