Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2066 commits
Select commit Hold shift + click to select a range
477e22c
Add extsample test for raw pointer values
ghewgill Jul 29, 2020
b8e466e
Do not generate WHEN OTHERS clause if not required
ghewgill Aug 9, 2020
674e4cf
Require full coverage of CASE with ENUM
ghewgill Aug 10, 2020
00a33e2
Fix up CASE statement in sample
ghewgill Aug 10, 2020
ece1929
First step of NEP14, do not quote strings in .toString()
ghewgill Aug 12, 2020
23ae80b
Minimum required cmake is 3.2
ghewgill Aug 12, 2020
4348aec
Use appropriate printf format for diagnostics
ghewgill Aug 13, 2020
55addad
Add string.quoted function
ghewgill Aug 13, 2020
9dfc8df
Change allowable range for binary function arguments
ghewgill Aug 13, 2020
d9c0c58
Put static libraries somewhere other than root
ghewgill Aug 13, 2020
6ab9d2f
Minor updates to .gitignore files
ghewgill Aug 13, 2020
967342f
Add array reversed() method
ghewgill Aug 14, 2020
c60a898
Add array find() method
ghewgill Aug 14, 2020
5e28c83
Allow use of IN operator for strings
ghewgill Aug 15, 2020
4d4833d
Exclude long test from arm64 build on travis
ghewgill Aug 15, 2020
97c793f
Quote array elements properly in toString()
ghewgill Aug 17, 2020
c6dbe99
Add some jvm math functions
ghewgill Aug 18, 2020
9bc1733
Fix incorrect loop in jvm compiler
ghewgill Aug 18, 2020
eb6c7a1
Add test which does not work yet
ghewgill Aug 18, 2020
3b9d40d
NEP15 Add TESTCASE statement
ghewgill Aug 20, 2020
8987105
Require pure functions for test condition of ASSERT
ghewgill Aug 23, 2020
18f0005
Require names for record, class, and enum types (fixes #296)
ghewgill Aug 24, 2020
97b656c
Use EQV/NEV opcodes where appropriate (fixes #295)
ghewgill Aug 25, 2020
469ac5c
Disallow use of classes without pointers where necessary (fixes #292)
ghewgill Aug 25, 2020
4ae2d1e
Handle recursive functions in is_pure calls
ghewgill Aug 26, 2020
39140bb
Only dump debug info if referenced (fixes #274)
ghewgill Aug 27, 2020
7a09e4f
Just enough os module in helium
ghewgill Aug 27, 2020
1853cc4
Build extension modules on CI builds
ghewgill Aug 27, 2020
54303ee
Allow records in records to be unnamed
ghewgill Aug 27, 2020
0e8bd89
Remove unnecessary complexity in PredefinedFunction
ghewgill Aug 27, 2020
681a059
Allow method calls and subscripts on literals (fixes #74)
ghewgill Aug 29, 2020
4245b9a
Fix up parser in helium and neon compilers, add test
ghewgill Aug 30, 2020
fa37b4e
Disallow calling NOWHERE function pointer
ghewgill Aug 30, 2020
a03d73c
Detect missing input file in neonc
ghewgill Aug 31, 2020
3767836
Fixed exception string buffer length in cnex
gitlarryf Aug 26, 2020
a5905e3
Fix process.call() deadlock in Win32
gitlarryf Aug 26, 2020
35531fd
Improvements to jvm target
ghewgill Sep 2, 2020
6ef6889
Improve printing of deconstructed expression in ASSERT
ghewgill Sep 2, 2020
f95e036
Remove # from valid numeric base character set
ghewgill Sep 8, 2020
e108259
Add math.powmod()
ghewgill Sep 8, 2020
51db9c1
Fix assertion failure in cell comparison (fixes #302)
ghewgill Sep 9, 2020
6a52a35
Fix sparse array for cnex (fixes #302)
ghewgill Sep 9, 2020
72a8c91
Add vim syntax highlight definition
ghewgill Sep 10, 2020
ca50c32
Add missing test file
ghewgill Sep 10, 2020
35ff1b9
Add comment header for console module
ghewgill Sep 11, 2020
fcc8b88
Add specific error for inappropriate qualified name
ghewgill Sep 11, 2020
53fe05e
Change comment style to -- and /* */
ghewgill Sep 11, 2020
1d07b42
Change block comment style
ghewgill Sep 12, 2020
4368a6c
Add rust to travis builds
ghewgill Sep 12, 2020
bc268dc
Add opcode coverage integration test
gitlarryf Aug 25, 2020
983530b
Add random.bytes() function
ghewgill Sep 15, 2020
0cfe484
Add random.bytes() win32 implementation
gitlarryf Sep 17, 2020
3f40dc1
Add random.bytes() to cnex
gitlarryf Sep 17, 2020
798f66f
Remove old comment style from lexer
ghewgill Sep 17, 2020
f3f84d8
Add note about hiding semantic errors in ASSERT
ghewgill Sep 20, 2020
88b5900
Tighten up number parsing in num()
ghewgill Sep 23, 2020
bd70471
Clean up naturaldocs library menu file
ghewgill Sep 28, 2020
0cfbcc7
NEP17 Add optional type inference for CONSTANT, VAR, and LET
ghewgill Sep 28, 2020
9316550
Fix bug in string.replaceAll
ghewgill Sep 15, 2020
3d34e2d
Fix a couple more bugs in string.replaceAll
ghewgill Sep 29, 2020
4f47e11
Add dictionary .remove()
ghewgill Oct 4, 2020
73f0825
Change object to string conversion to not quote strings
ghewgill Oct 5, 2020
5c18b4e
Add a variety of Object support to nenex
ghewgill Oct 5, 2020
1906822
Make quoting style in grammar consistent
ghewgill Oct 12, 2020
b12544d
Fix up some bugs in the EBNF grammar
ghewgill Oct 12, 2020
355a146
Add basic memory management to cnex
gitlarryf Oct 9, 2020
94d702a
Use correct printf format for size_t
ghewgill Oct 13, 2020
5540358
Add month and weekday names
ghewgill Oct 14, 2020
4031352
Add string__index for single character indexing
ghewgill Oct 15, 2020
0467ef0
Rework exception handling to take an Object info
ghewgill Oct 5, 2020
dc8e789
Fix a couple exceptions in cnex.
gitlarryf Oct 6, 2020
4ac0e0d
Fix memory leaks in cnex exception handling
gitlarryf Oct 6, 2020
3e5321f
Fix memory leaks in cnex file and io exception handling
gitlarryf Oct 6, 2020
7bcf866
Add some additional string index test cases
ghewgill Oct 19, 2020
c55eb7b
Fix various memory leaks in cnex under Windows
gitlarryf Oct 19, 2020
d408130
Fix cnex memory leaks under posix
gitlarryf Oct 21, 2020
0bd12b7
Fix up some samples documentation
ghewgill Oct 20, 2020
72b09d5
NEP20 Remove StringIndexException for string range access
ghewgill Oct 20, 2020
5c40936
NEP20 Remove BytesIndexException
ghewgill Oct 20, 2020
3de3fea
NEP20 Add array range indexing test and implement some edge cases
ghewgill Oct 27, 2020
5250e0c
NEP20 Ensure fractional array indexes are disallowed
ghewgill Oct 27, 2020
787456f
Request any version of Python3 for OpenBSD build
ghewgill Oct 27, 2020
ec0b8bf
Add single indexing of Bytes type
ghewgill Oct 28, 2020
19a17c1
Change net sockets to be objects
ghewgill Oct 29, 2020
5149ebf
Fix missing os module call
gitlarryf Nov 3, 2020
504d478
Fix invalid memory access in extension.c
gitlarryf Nov 4, 2020
c63a84a
Fix invalid memory access in cnex
gitlarryf Nov 4, 2020
cc48287
Add GitHub Actions CI files
ghewgill Nov 10, 2020
92cd009
Update build badges
ghewgill Nov 10, 2020
8c03882
Create compile_commands.json for clang-tidy
ghewgill Nov 10, 2020
43b7360
Explicitly install python3 for sr.ht debian builds
ghewgill Nov 11, 2020
f30e4ba
Fix win32 random module
gitlarryf Nov 12, 2020
1cfaeea
Add notification triggers to sr.ht builds
ghewgill Nov 15, 2020
d60b159
Remove win32 module (now in its own repo)
ghewgill Nov 17, 2020
eb39c55
Remove .isNull() method of objects, use = NIL instead
ghewgill Nov 18, 2020
8df3bda
Remove win32 module from docs
ghewgill Nov 18, 2020
165e1ce
Move Object related classes to own module
ghewgill Nov 20, 2020
225c8cd
NEP21 Change parameters to Socket.recv
ghewgill Nov 2, 2020
6250784
Ensure that CONNECT TO can take a constant name (fixes #329)
ghewgill Dec 3, 2020
9604deb
SQL bindings no longer segfault on SQL NULL (fixes #328)
ghewgill Dec 3, 2020
39c6477
Add native object support (COM, Java, Python)
ghewgill Dec 7, 2020
222e39e
Remove references to Travis CI
ghewgill Dec 8, 2020
cfa1047
Ensure that a leading plus is accepted in num()
ghewgill Dec 8, 2020
b6815a5
Use BigDecimal.compareTo instead of .equals
ghewgill Dec 8, 2020
7b38c7e
Add sys.exit() in jnex
ghewgill Dec 8, 2020
4736e45
Fix failing rename test by deleting target file first
gitlarryf Dec 9, 2020
d91fc19
Add runtime.moduleIsMain to jnex
ghewgill Dec 12, 2020
8bc6afc
Change print() function to take an Object
ghewgill Dec 11, 2020
84d4b61
Raise an error if output file cannot be created
ghewgill Dec 23, 2020
313d827
Create all generated source files in gen/
ghewgill Dec 30, 2020
805f0d6
Make EMBED look relative to source file path
ghewgill Dec 30, 2020
97f3c6f
Add --neonpath command line options
ghewgill Dec 30, 2020
a7e8bae
Fix null SQL bindings in cnex (fixes #328)
gitlarryf Dec 4, 2020
da30b42
Fix test that was accidentally modified
ghewgill Jan 1, 2021
82d786b
Create rsnex with correct executable suffix
ghewgill Jan 5, 2021
4456721
Use correct executable suffix for gonex
ghewgill Jan 5, 2021
a5a4102
Ensure that CLI test is not run if C# compiler not available
ghewgill Jan 5, 2021
5f9dc0e
Fix number_from_string() function in cnex
gitlarryf Nov 5, 2020
c462ae5
Skip cpp test on Github Actions
ghewgill Jan 6, 2021
19d3c86
Set extended aligned storage flag for MSVC 15.8.0
gitlarryf Dec 31, 2020
24113f7
Rename 'opcode version' to 'bytecode version'
ghewgill Jan 12, 2021
f5403c4
Add native object support to cnex
gitlarryf Dec 15, 2020
26c34ba
csnex initial commit
gitlarryf Dec 31, 2020
19e2898
Fix some compile problems when assertions not enabled
ghewgill Jan 14, 2021
971bb76
Implement Number class for basic Number support
gitlarryf Jan 15, 2021
38ed8f6
Fix possible assertion conditions in Cell constructors
gitlarryf Jan 19, 2021
329fb1f
Clean up Cell class code
gitlarryf Jan 19, 2021
ace600c
Implement boolean tests
gitlarryf Jan 15, 2021
8d082db
Implement JUMPTBL opcode and test
gitlarryf Jan 20, 2021
3e73bad
Implement EQN and NEN opcodes for if.neon test
gitlarryf Jan 20, 2021
800c68b
Add better information to exceptions raised during runtime
gitlarryf Jan 21, 2021
986b81e
Implement opcodes to support basic loop tests
gitlarryf Jan 21, 2021
93065b7
Implement basic dictionary support
gitlarryf Jan 22, 2021
4d06e46
Add arithmetic functions for basic arithmetic test
gitlarryf Jan 22, 2021
ac29939
Implement opcodes for case tests
gitlarryf Jan 27, 2021
cce194b
Add function support
gitlarryf Jan 22, 2021
f615b61
Reenable unicode-string.neon test
ghewgill Feb 2, 2021
4f17b34
Add basic array support
gitlarryf Jan 25, 2021
fde9f5e
Implement Exception handling in csnex.
gitlarryf Jan 23, 2021
0325853
Add Module Imports to csnex
gitlarryf Jan 29, 2021
2e4bcc0
Remove nonexistent global functions from helium
ghewgill Feb 10, 2021
12ab4a0
Updates to helium to run ebnf_w3c.neon correctly
ghewgill Feb 10, 2021
294f6d0
Add global array functions
gitlarryf Feb 11, 2021
e3dc8d8
Use reflection to call predefined functions
gitlarryf Jan 27, 2021
019c619
Split textio-test apart
ghewgill Feb 13, 2021
9c69bab
Fix Fedora on builds.sr.ht
ghewgill Feb 13, 2021
95d0e6b
Reinstate seek/truncate test in textio
ghewgill Feb 13, 2021
d8c5abc
Add LOADJ / STOREJ opcodes
gitlarryf Feb 16, 2021
8fae72d
Fix exception handling in csnex
gitlarryf Feb 16, 2021
60265e2
Add textio module to csnex
gitlarryf Feb 18, 2021
3e3fd51
Add sys module to csnex
gitlarryf Feb 19, 2021
a550998
Add runtime module to csnex
gitlarryf Feb 19, 2021
cbb86b9
Add Bytes support to csnex
gitlarryf Feb 20, 2021
2fb9d8c
Add more dictionary support
gitlarryf Feb 21, 2021
f61a197
Change Dictionary implementation to SortedDictionary
gitlarryf Feb 21, 2021
9f0b2f5
More string work on csnex
gitlarryf Feb 24, 2021
dda65f4
Use better exception in string.toCodePoint()
ghewgill Feb 25, 2021
7587210
Set up csc.exe on Windows Github Actions build
ghewgill Feb 27, 2021
ad94cb5
Add random module to csnex
gitlarryf Feb 26, 2021
c43e595
Add string library to csnex
gitlarryf Feb 25, 2021
14a6d74
Enable UTF8 support in csnex
gitlarryf Feb 25, 2021
93403c1
Add INx opcode support to csnex
gitlarryf Mar 2, 2021
d64bacd
Update csnex exclude list
gitlarryf Mar 2, 2021
e277e47
General code cleanup
gitlarryf Mar 2, 2021
3e51508
Fix exception when no filename is passed to csnex
gitlarryf Mar 2, 2021
70683cc
Add AssemblyVersion attribute to csnex (fixes MSBuild Warning CA1016)
gitlarryf Mar 2, 2021
283e49a
Add optional packages to sr.ht builds
ghewgill Mar 4, 2021
c01ef4a
Fix exception handling stack alignment issue
gitlarryf Mar 6, 2021
2d9c993
Fixed csnex Cell get accessors
gitlarryf Mar 8, 2021
6f50d70
Use ASSERT to get dump of what bad value actually is
ghewgill Mar 10, 2021
dd7e613
Fix type signature for neon.Textio.writeLine
ghewgill Mar 10, 2021
a48c464
Sleep in a loop because Thread.sleep is unreliable
ghewgill Mar 10, 2021
8402aca
Add debugger friendly properties to Cell
gitlarryf Mar 6, 2021
18f1066
Sleep in a loop in pynex too
ghewgill Mar 10, 2021
30f1ec3
Use time.monotonic() to fix pynex sleep
ghewgill Mar 11, 2021
3892363
Add Frames to csnex
gitlarryf Mar 4, 2021
2a66fa6
Fix Cell copy semantics
gitlarryf Mar 11, 2021
62161bc
Fix gonex build by explicitly naming source file
ghewgill Mar 17, 2021
b1f5ed4
Add remaining global array functions to csnex
gitlarryf Mar 8, 2021
c75da20
Add io module to csnex
gitlarryf Mar 15, 2021
4564967
Add Neon runtime information to NeonException
gitlarryf Mar 18, 2021
e27bce9
Add intrinsic function num() to csnex
gitlarryf Mar 20, 2021
1762152
Enable .toString() on dictionaries of strings
ghewgill Mar 22, 2021
d74dec5
Add Object support to csnex
gitlarryf Mar 16, 2021
a19b895
Add opcodes DUPX1, GES, and NES to csnex
gitlarryf Mar 22, 2021
f7ecc69
Do proper quoting of string literals on output
ghewgill Mar 22, 2021
66aa99d
Support Unicode 'COLON EQUALS' character for :=
ghewgill Mar 23, 2021
3d0fa7e
Add unicode punctuation to lexer coverage test
ghewgill Mar 23, 2021
c262bd8
Fix minor spelling error in string.neon
gitlarryf Mar 26, 2021
512677b
Better array index range exception reporting
ghewgill Mar 28, 2021
7db216d
Introduce NumberException and better exception detection
ghewgill Mar 28, 2021
58733e1
Remove unneeded test
ghewgill Mar 31, 2021
aa1fdf6
Add test for 0 power
ghewgill Mar 31, 2021
db8dfa9
Check for ByteOutOfRangeException
ghewgill Apr 1, 2021
669e968
Add test for Bytes equality
ghewgill Apr 1, 2021
a73f6c8
Fix FileMode for textio write operations
gitlarryf Apr 2, 2021
8a75e18
Add module support to csnex
gitlarryf Mar 20, 2021
6596950
Add opcodes EQB and NEB to csnex
gitlarryf Apr 7, 2021
7594486
Fix minor spelling error in code comment
gitlarryf Apr 9, 2021
b09401d
Add todo test for nested array membership
ghewgill Apr 15, 2021
4af9ead
Add missing test
ghewgill Apr 15, 2021
8a1cd70
Check for proper form of toString (fixes #385)
ghewgill Apr 19, 2021
30c5cc5
Add class, interface and pointer support to csnex
gitlarryf Apr 21, 2021
5587c33
Changed Cell constructors to Factory functions.
gitlarryf Apr 29, 2021
1c07866
Add trace output to csnex
gitlarryf Apr 29, 2021
fd195d6
Add function pointer support to csnex
gitlarryf May 6, 2021
6a2cf20
Add EQD and NED opcodes to csnex
gitlarryf May 10, 2021
c6ad6a7
Fix all toString() implementations in csnex
gitlarryf May 14, 2021
82b9e21
Fix incorrect free() in posix_execve() function (fixes #392)
gitlarryf May 18, 2021
8b70d6e
Capture token in ast::Statement instead of just line
ghewgill May 19, 2021
c1c703a
Add bytes__contact() global function to csnex
gitlarryf May 19, 2021
e408ac2
Add file.filesByWildcard and file.wildcardMatch
ghewgill May 21, 2021
1016857
Add opcode INDEXAN to csnex
gitlarryf May 20, 2021
e376816
Work around helium limitation
ghewgill May 21, 2021
c19b6b0
Fix up test to relax number checking
ghewgill May 25, 2021
8f9e175
Fix null object exception in class interface for csnex
gitlarryf May 25, 2021
4ecbe75
Add Export types to csnex
gitlarryf May 25, 2021
9dd3519
Implement missing class and module opcodes in csnex
gitlarryf May 28, 2021
fab15f1
Disallow recursive record definitions (fixes #399)
ghewgill Jun 12, 2021
c3dc30c
Fix exception during cnex stack unwind when no debug information exists.
gitlarryf Jun 15, 2021
50dda4a
Fix exit status of os.system
ghewgill Jun 3, 2021
361ef91
Add framework for backend compiler options
ghewgill Jun 8, 2021
178055b
Add output file option to backend compilers
ghewgill Jun 8, 2021
493ef77
Remove some unused parameters in AST
ghewgill Jun 14, 2021
6978e4d
Show module name instead of incorrect file name when no debug info is…
ghewgill Jun 16, 2021
250c6eb
Add string-splice test
ghewgill Jun 19, 2021
9dd919c
Fix up string splice for gonex, pynex, and jvm
ghewgill Jun 21, 2021
e98abbf
Fix up string splice for csnex
ghewgill Jun 22, 2021
9ac9bb8
Remove lisp sample dependence on regex
ghewgill Jun 24, 2021
d7aa744
Fix detection of recursive record declarations
ghewgill Jun 24, 2021
1f9f993
Restrict chained comparisons to '<', '<=', '='
ghewgill Jun 24, 2021
44559ff
Add some help for neonc
ghewgill Jun 30, 2021
92860a0
Fix failing test after neonc change
ghewgill Jun 30, 2021
7a63cd5
Fix cnex string_splice() function to pass splice tests
gitlarryf Jun 30, 2021
914fa91
Add console module to csnex
gitlarryf Jun 5, 2021
be5077c
Rename TypeImport to TypeQualified
ghewgill Jul 6, 2021
636ec24
Add binary.bitCount functions for counting bits
ghewgill Jul 29, 2021
b48cafa
Support varargs in helium
ghewgill Aug 12, 2021
37d9f2d
Modify file.pathJoin to use varargs
ghewgill Aug 12, 2021
0b76768
Fix error in converting empty dictionary to object (fixes #405)
ghewgill Aug 19, 2021
8054805
Support some method calls for built in type Objects
ghewgill Aug 24, 2021
1725d52
Handle checking scope exit with CASE statements
ghewgill Aug 30, 2021
d84018f
Support built in method calls for known Objects in cnex
gitlarryf Aug 27, 2021
7373ce0
Fix dependencies
ghewgill Aug 31, 2021
f3b70c4
Add length() method for String objects
ghewgill Sep 6, 2021
7154526
Implement correct number exceptions in cnex
gitlarryf Aug 28, 2021
a3ccf85
Add Ctrl+C handling to raise InterruptedException
ghewgill Sep 8, 2021
42ee884
Update informational ExceptionInfo declaration
ghewgill Sep 8, 2021
afa8a06
Revert incorrect change related to comment character
ghewgill Sep 16, 2021
a0cab53
NEP19 Add choice types
ghewgill Sep 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
45 changes: 45 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
image:
- Visual Studio 2019
#- Visual Studio 2017
#- Visual Studio 2015
environment:
matrix:
- NEON_ARCH: 64
EXCLUDE_TESTS: 1
- NEON_ARCH: 32
- NEON_ARCH: 64
#- WITH_SUBMODULES: 1
# NEON_ARCH: 64
#matrix:
# exclude:
# - image: Visual Studio 2015
# - image: Visual Studio 2017
# - image: Visual Studio 2019
#install:
#- ps: >-
# if (-not (Test-Path C:\Python38\Lib\site-packages\scons-3.1.2)){
# Start-FileDownload "https://downloads.sourceforge.net/project/scons/scons/3.1.2/scons-3.1.2.zip" -FileName "scons-3.1.2.zip"
# 7z x -y scons-3.1.2.zip
# }
build_script:
- cmd: set PATH=c:\python38;%PATH%
- cmd: copy c:\python38\python.exe c:\python38\python3.exe
#- cmd: python3 scons-3.1.2\setup.py install

- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" if "%NEON_ARCH%"=="32" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"

- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" if "%NEON_ARCH%"=="64" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"

- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" if "%NEON_ARCH%"=="32" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"

- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" if "%NEON_ARCH%"=="64" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"

- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if "%NEON_ARCH%"=="32" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86

- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if "%NEON_ARCH%"=="64" call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if "%NEON_ARCH%"=="64" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64

- cmd: cmake .
- cmd: cmake --build .
- cmd: set PYTHONIOENCODING=utf8
- cmd: if not "%EXCLUDE_TESTS%"=="1" ctest -C Debug --output-on-failure
29 changes: 29 additions & 0 deletions .builds/alpine-latest-cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
image: alpine/latest
packages:
- cmake
- gmp-dev
- zlib-dev
- perl
# optional
#- openjdk11 (javac not found)
#- mono (not until mono supports musl?)
- nodejs
- rust
- go
sources:
- https://git.sr.ht/~ghewgill/neon-lang
triggers:
- action: email
condition: failure
to: ~ghewgill/[email protected]
tasks:
- prep: |
cd neon-lang
git submodule deinit .
- build: |
cd neon-lang
cmake .
cmake --build .
- test: |
cd neon-lang
echo NOT RUNNING: ctest
29 changes: 29 additions & 0 deletions .builds/archlinux-cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
image: archlinux
packages:
- cmake
- python3
- ncurses
- gmp
# optional
- jdk-openjdk
- mono
- nodejs
- rust
#- go (can't find main module)
sources:
- https://git.sr.ht/~ghewgill/neon-lang
triggers:
- action: email
condition: failure
to: ~ghewgill/[email protected]
tasks:
- prep: |
cd neon-lang
git submodule deinit .
- build: |
cd neon-lang
cmake .
cmake --build .
- test: |
cd neon-lang
echo NOT RUNNING: ctest
33 changes: 33 additions & 0 deletions .builds/debian-stable-cmake-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
image: debian/stable
packages:
- python3
- cmake
- ncurses-dev
- libgmp-dev
- zlib1g-dev
# optional
- default-jdk
- mono-mcs
- nodejs
- rustc
- golang
sources:
- https://github.com/ghewgill/neon-lang
triggers:
- action: email
condition: failure
to: ~ghewgill/[email protected]
tasks:
- prep: |
cd neon-lang
git clone https://github.com/ghewgill/neon-module-registry
for a in $(ls neon-module-registry | grep yaml); do
python3 tools/helium.py scripts/module-install.neon $(echo $a | sed -e 's/.yaml//');
done
- build: |
cd neon-lang
cmake .
cmake --build .
- test: |
cd neon-lang
echo NOT RUNNING: ctest
30 changes: 30 additions & 0 deletions .builds/debian-stable-cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
image: debian/stable
packages:
- python3
- cmake
- ncurses-dev
- libgmp-dev
- zlib1g-dev
# optional
- default-jdk
- mono-mcs
- nodejs
- rustc
- golang
sources:
- https://git.sr.ht/~ghewgill/neon-lang
triggers:
- action: email
condition: failure
to: ~ghewgill/[email protected]
tasks:
- prep: |
cd neon-lang
git submodule deinit .
- build: |
cd neon-lang
cmake .
cmake --build .
- test: |
cd neon-lang
echo NOT RUNNING: ctest
35 changes: 35 additions & 0 deletions .builds/fedora-latest-cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
image: fedora/latest
packages:
- g++
- cmake
- ncurses
- gmp-devel
- zlib-devel
# These perl modules are just for NaturalDocs
- perl-English
- perl-FindBin
- perl-File-Copy
- perl-Tie-RefHash
# optional
#- java-latest-openjdk (javac not working)
- mono-core
- nodejs
- rust
- go
sources:
- https://git.sr.ht/~ghewgill/neon-lang
triggers:
- action: email
condition: failure
to: ~ghewgill/[email protected]
tasks:
- prep: |
cd neon-lang
git submodule deinit .
- build: |
cd neon-lang
cmake .
cmake --build .
- test: |
cd neon-lang
echo NOT RUNNING: ctest
28 changes: 28 additions & 0 deletions .builds/freebsd-latest-cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
image: freebsd/latest
packages:
- cmake
- python3
- gmp
# optional
- openjdk # version 1.7, needs 1.8
- mono
- node
- rust
#- go (cannot find main module)
sources:
- https://git.sr.ht/~ghewgill/neon-lang
triggers:
- action: email
condition: failure
to: ~ghewgill/[email protected]
tasks:
- prep: |
cd neon-lang
git submodule deinit .
- build: |
cd neon-lang
cmake .
cmake --build .
- test: |
cd neon-lang
echo NOT RUNNING: ctest
28 changes: 28 additions & 0 deletions .builds/openbsd-latest-cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
image: openbsd/latest
packages:
- cmake
- python3
- gmpxx
# optional
- jdk
- mono
- node
- rust
- go
sources:
- https://git.sr.ht/~ghewgill/neon-lang
triggers:
- action: email
condition: failure
to: ~ghewgill/[email protected]
tasks:
- prep: |
cd neon-lang
git submodule deinit .
- build: |
cd neon-lang
cmake .
cmake --build .
- test: |
cd neon-lang
echo NOT RUNNING: ctest
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2
jobs:
build:
docker:
- image: debian:stretch
steps:
- run:
name: update packages
command: apt update
- run:
name: install packages
command: apt install -y python3 cmake make g++ libgmp-dev zlib1g-dev openjdk-8-jdk-headless mono-mcs nodejs rustc golang
- checkout
- run:
name: Build
command: cmake . && make
- run:
name: Test
command: ctest --output-on-failure
environment:
PYTHONIOENCODING: utf8
15 changes: 15 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: macOS

on: [push, pull_request]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: prep
run: cmake .
- name: build
run: cmake --build .
- name: test
run: ctest --output-on-failure
15 changes: 15 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Ubuntu

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: prep
run: cmake .
- name: build
run: cmake --build .
- name: test
run: ctest --output-on-failure
23 changes: 23 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Windows

on: [push, pull_request]

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup csc.exe
uses: yoavain/Setup-CSC@v7
- name: prep
run: |
where python
copy c:\hostedtoolcache\windows\Python\3.7.9\x64\python.exe c:\hostedtoolcache\windows\Python\3.7.9\x64\python3.exe
cmake .
shell: cmd
- name: build
run: cmake --build .
- name: test
run: ctest -C Debug --output-on-failure
env:
PYTHONIOENCODING: utf8
Loading