* Bump version to 0.11.0, update dependencies
* Test on Big Sur with Xcode 12.5
* Update test fixture dependencies
* Remove `LinuxMain.swift` expectations
* Test with `wasm-5.4-SNAPSHOT-2021-08-26-a`
* Remove expectations for `XCTestManifests.swift`
* Enable debugging output
* Try the latest 5.4 toolchain
* print debug output
* More debug output
* Test on macOS 11 with Xcode 13
* Pipe errors to stdout
* Update DefaultToolchain.swift
* Revert "Update DefaultToolchain.swift"
This reverts commit 4ff15f938a.
* Remove Xcode 13 from the CI matrix
* Update DefaultToolchain.swift
* Reduce the diff
Previously, the file we need to include with the build to enable the stack overflow sanitizer was written as a temporary file. This didn't happen though on watcher rebuilds with `carton dev` and caused crashes when a code line containing `try!` relying on this file to be present was executed.
I think it's easier and more efficient to bundle this file in the `static.zip` file that already includes our JS entrypoints. We require `static.zip` to be downloaded and unpacked successfully into `~/.carton/static` before every build anyway. It makes more sense to sense the sanitizer file in `~/.carton/static/so_sanitizer.wasm` and use that instead writing and deleting it at a temporary path on every build.
I've also updated the JSKit dependency and cleaned up some linter warnings by moving large tuple values into a separate `BuildDescription` type.
This fixes the issue with Linux builds, as Linux CI hosts were updated to Swift 5.4 which no longer supports testing with release builds.
* Avoid building in `release` mode when testing
* Remove deprecated `LinuxMain.swift`
* Added init with template test. Supports #99
* Moved expectedTemplateSource outside of test function. Supports #99
Co-authored-by: thecb4 <cavelle@tehcb4.io>
* Added tests for version and local
* Debugging versions tests on ci
* Added brew install for swiftenv
* Changed fetchAllSwiftVersions to return empty array if .swiftenv/versions doesnt exist
* Remove commented out code. Removed debug flag for versions test
* Removed swiftenv from Brewfile
Co-authored-by: thecb4 <cavelle@tehcb4.io>
* Use libSwiftPM instead of custom model types #120
* Update SwiftPM dependencies
* Add wrapper to handle discrepancy between encoded and decoded Manifest
* Try to fix 5.2 dependency resolving
* Try to fix 5.2 dependency resolving
Co-authored-by: Max Desiatov <max@desiatov.com>
* Add host argument to dev and test commands
* Delete Brewfile.lock.json
* Update swift.yml
* Update Sources/CartonCLI/Commands/Dev.swift
Co-authored-by: Max Desiatov <max@desiatov.com>
* Update Sources/CartonCLI/Commands/Test.swift
Co-authored-by: Max Desiatov <max@desiatov.com>
Co-authored-by: Max Desiatov <max@desiatov.com>
* Added Test for carton test --environment defaultBrowser
* Method documentation, test file cleanup, print statement removals, var scope changes
* Delete docker-compose.yml
Co-authored-by: thecb4 <cavelle@tehcb4.io>
Co-authored-by: Max Desiatov <max@desiatov.com>
* Added test command test with no arguments
* Changed build and test to release configuration, Fixed Docker Build error
* Changed build and test to release configuration, Fixed Docker Build error
* Fixed github action
* Moved package.json and package-lock.json back to the top directory
* Moved the entrypoint folder back to the top level directory
Co-authored-by: thecb4 <cavelle@tehcb4.io>
* carton dev and bundle default command tests
* removed tests_output
* removed .testfile
* carton dev and bundle default command tests
* removed localhost as localURL
* attempt to fix folder name issue
* removed Fixtures test folder
* added Fixtures test folder
* attempt to fix folder name issue
* attempt to fix server connect issue
* fixed dev testWithNoArguments with sleep delay
* Debugging bundle command for github actions
* Install wasmr prior to swift test
* Debug clean up
* Debug clean up
* Update Tests/CartonCommandTests/CommandTestHelper.swift
Co-authored-by: Max Desiatov <max@desiatov.com>
Co-authored-by: thecb4 <cavelle@tehcb4.io>
Co-authored-by: Max Desiatov <max@desiatov.com>
* Added Dev tests and fixed hard coded paths, fixes#183
* Fixed Path dependency in 5.2 Package
* Removed mxcl/Path dependency
* Removed mxcl/Path dependency, Added confirmation of file existence in Init test
* Added sdk install head of init command test
* Moved carton sdk install to static setup method for tests
* Moved carton sdk install to static setup method for tests
* Moved carton sdk install to static setup method for tests
* Moved carton sdk install to static setup method for tests
* Moved carton sdk install to static setup method for tests
* changed order of actions for github automations to support testing
* modified test run to exclude release
* changed sdk install to run per test
* adjusted github workflows to create carton sdk folders
* adjusted github workflows to use /home/runner instead of root
* adjusted test to wait for sdk installation
* adjusted ubuntu tests for passing
* adjusted Dockerfile to run tests
* added tmate session for debugging
* Removed tmate session, added directory creation for carton sdk and sym link
* Adjusted order of commands for runner
* Fixed mkdir from worker to runner
* Added more terminal output for debugging
* Added more terminal output for debugging
* Added more terminal output for debugging
* Added more terminal output for debugging
* Added more terminal output for debugging
* Fixed hard coded paths
* Removed test investigation fixtures
* Removed test investigation fixtures
Co-authored-by: thecb4 <cavelle@tehcb4.io>