Skip to content

Run packaging scripts and smoke test on CI #15

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

Merged
merged 7 commits into from
Nov 16, 2019
Merged

Conversation

MaxDesiatov
Copy link

@MaxDesiatov MaxDesiatov commented Nov 14, 2019

Any changes in this repository should be tested with the packaging script and a basic smoke test that compiles hello.swift on CI.

In the future packaging and linking scripts should be moved to this repository, swiftwasm-sdk and swiftwasm-package-sdk projects probably would be archived when that happens. For now we're pulling the scripts from swiftwasm-package-sdk as it is.

@kateinoigakukun
Copy link
Member

kateinoigakukun commented Nov 14, 2019

In my local environment, print doesn't work yet 😅 ( and I'm working on this problem)

@MaxDesiatov
Copy link
Author

MaxDesiatov commented Nov 14, 2019

Same for me, not sure if we've stumbled upon the same issue though. I was able to finally link without errors on a Linux box (still getting ar/ranlib errors despite CMAKE_AR and CMAKE_RANLIB being correctly set), but the output file doesn't print anything in polyfills and traps in wasmtime. I want to make these errors reproducible on CI, hope this PR will help with that.

@kateinoigakukun
Copy link
Member

@MaxDesiatov
Copy link
Author

Not sure now if that file should be compiled at all, would any RTLD_DEFAULT value or pointerToSwiftCoreSymbol call be valid for wasm? Most probably it previously wasn't compiled, but started now by mistake after the last rebase.

@MaxDesiatov
Copy link
Author

This file didn't exist before Oct 24, 2019, that seems to be the explanation 🙂

Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed 🎉

@MaxDesiatov MaxDesiatov merged commit b6040e8 into swiftwasm Nov 16, 2019
@MaxDesiatov MaxDesiatov deleted the test-package branch November 16, 2019 09:52
@MaxDesiatov MaxDesiatov added the continuous integration Improvements to continuous integration label Nov 17, 2019
kateinoigakukun pushed a commit that referenced this pull request Dec 15, 2019
kateinoigakukun pushed a commit that referenced this pull request Dec 15, 2019
Any changes in this repository should be tested with the packaging script and a basic smoke test that compiles `hello.swift` on CI.

In the future packaging and linking scripts should be moved to this repository, `swiftwasm-sdk` and `swiftwasm-package-sdk` projects probably would be archived when that happens. For now we're pulling the scripts from `swiftwasm-package-sdk` as it is.

* Run packaging scripts and smoke test on CI

* Make prepare-package.sh executable

* Make SymbolLookup.swift compilable for wasm

* Use GitHub Actions upload/download steps

* Remove packaging steps from ci-*.sh

* Move prepare-package.sh to main.yml to avoid clone

* Refine formatting in .github/workflows/main.yml
kateinoigakukun pushed a commit that referenced this pull request Jan 11, 2020
Any changes in this repository should be tested with the packaging script and a basic smoke test that compiles `hello.swift` on CI.

In the future packaging and linking scripts should be moved to this repository, `swiftwasm-sdk` and `swiftwasm-package-sdk` projects probably would be archived when that happens. For now we're pulling the scripts from `swiftwasm-package-sdk` as it is.

* Run packaging scripts and smoke test on CI

* Make prepare-package.sh executable

* Make SymbolLookup.swift compilable for wasm

* Use GitHub Actions upload/download steps

* Remove packaging steps from ci-*.sh

* Move prepare-package.sh to main.yml to avoid clone

* Refine formatting in .github/workflows/main.yml
MaxDesiatov added a commit that referenced this pull request Jan 29, 2020
Any changes in this repository should be tested with the packaging script and a basic smoke test that compiles `hello.swift` on CI.

In the future packaging and linking scripts should be moved to this repository, `swiftwasm-sdk` and `swiftwasm-package-sdk` projects probably would be archived when that happens. For now we're pulling the scripts from `swiftwasm-package-sdk` as it is.

* Run packaging scripts and smoke test on CI

* Make prepare-package.sh executable

* Make SymbolLookup.swift compilable for wasm

* Use GitHub Actions upload/download steps

* Remove packaging steps from ci-*.sh

* Move prepare-package.sh to main.yml to avoid clone

* Refine formatting in .github/workflows/main.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous integration Improvements to continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants