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

Move packaging scripts from swiftwasm-package-sdk #18

Merged
merged 7 commits into from
Nov 19, 2019

Conversation

MaxDesiatov
Copy link

@MaxDesiatov MaxDesiatov commented Nov 17, 2019

Currently our CI scripts rely on validity of scripts in the swiftwasm-package-sdk repository. That can't always be the case, especialy as we don't checkout a specific commit in that repository. And even if we did, managing this isn't convenient. Adding a submodule has its own set of issues and I personally think that a monorepo approach is much simpler for a small set of scripts, at least at an early stage. In fact, it would make sense to have these scripts in the upstream swift repository at some point, similarly to what Android people have previously done.

Thus, these scripts and a few small helper files are copied to utils/webassembly directory and are executed directly on CI.

After this PR is merged, I don't see a particular need for our swiftwasm-package-sdk and swiftwasm-sdk repos, those probably can be archived.

As a small cleanup addition, .github/workflows/main.yml file now has consistent indentation.

@MaxDesiatov MaxDesiatov added the continuous integration Improvements to continuous integration label Nov 17, 2019
@MaxDesiatov MaxDesiatov marked this pull request as ready for review November 18, 2019 16:56
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.

swift_start.o and start_end.o are no more necessary because of wasm-ld supports 👍
Could you remove them and related flags?

@MaxDesiatov MaxDesiatov merged commit 216701e into swiftwasm Nov 19, 2019
@MaxDesiatov MaxDesiatov deleted the move-packaging-scripts branch November 19, 2019 13:16
kateinoigakukun pushed a commit that referenced this pull request Dec 15, 2019
kateinoigakukun pushed a commit that referenced this pull request Dec 15, 2019
Currently our CI scripts rely on validity of scripts in the [`swiftwasm-package-sdk`](https://github.com/swiftwasm/swiftwasm-package-sdk) repository. That can't always be the case, especialy as we don't checkout a specific commit in that repository. And even if we did, managing this isn't convenient. Adding a submodule has its own set of issues and I personally think that a monorepo approach is much simpler for a small set of scripts, at least at an early stage. In fact, it would make sense to have these scripts in the upstream [`swift`](https://github.com/apple/swift) repository at some point, similarly to [what Android people have previously done](https://github.com/apple/swift/tree/master/utils/android).

Thus, these scripts and a few small helper files are copied to `utils/webassembly` directory and are executed directly on CI.

After this PR is merged, I don't see a particular need for our [`swiftwasm-package-sdk`](https://github.com/swiftwasm/swiftwasm-package-sdk) and [`swiftwasm-sdk`](https://github.com/swiftwasm/swiftwasm-sdk) repos, those probably can be archived.

As a small cleanup addition, `.github/workflows/main.yml` file now has consistent indentation.

* Move packaging scripts from swiftwasm-package-sdk
* Rename `wasm` directory to `webassembly`
* Make all .sh scripts executable after download
* Make sdkroot/swiftwasm script executable
* Add newline to build-mac-package.sh
* Add newline to build-packages.sh
* Remove swift_start.o and swift_end.o
kateinoigakukun pushed a commit that referenced this pull request Jan 11, 2020
Currently our CI scripts rely on validity of scripts in the [`swiftwasm-package-sdk`](https://github.com/swiftwasm/swiftwasm-package-sdk) repository. That can't always be the case, especialy as we don't checkout a specific commit in that repository. And even if we did, managing this isn't convenient. Adding a submodule has its own set of issues and I personally think that a monorepo approach is much simpler for a small set of scripts, at least at an early stage. In fact, it would make sense to have these scripts in the upstream [`swift`](https://github.com/apple/swift) repository at some point, similarly to [what Android people have previously done](https://github.com/apple/swift/tree/master/utils/android).

Thus, these scripts and a few small helper files are copied to `utils/webassembly` directory and are executed directly on CI.

After this PR is merged, I don't see a particular need for our [`swiftwasm-package-sdk`](https://github.com/swiftwasm/swiftwasm-package-sdk) and [`swiftwasm-sdk`](https://github.com/swiftwasm/swiftwasm-sdk) repos, those probably can be archived.

As a small cleanup addition, `.github/workflows/main.yml` file now has consistent indentation.

* Move packaging scripts from swiftwasm-package-sdk
* Rename `wasm` directory to `webassembly`
* Make all .sh scripts executable after download
* Make sdkroot/swiftwasm script executable
* Add newline to build-mac-package.sh
* Add newline to build-packages.sh
* Remove swift_start.o and swift_end.o
MaxDesiatov added a commit that referenced this pull request Jan 29, 2020
Currently our CI scripts rely on validity of scripts in the [`swiftwasm-package-sdk`](https://github.com/swiftwasm/swiftwasm-package-sdk) repository. That can't always be the case, especialy as we don't checkout a specific commit in that repository. And even if we did, managing this isn't convenient. Adding a submodule has its own set of issues and I personally think that a monorepo approach is much simpler for a small set of scripts, at least at an early stage. In fact, it would make sense to have these scripts in the upstream [`swift`](https://github.com/apple/swift) repository at some point, similarly to [what Android people have previously done](https://github.com/apple/swift/tree/master/utils/android).

Thus, these scripts and a few small helper files are copied to `utils/webassembly` directory and are executed directly on CI.

After this PR is merged, I don't see a particular need for our [`swiftwasm-package-sdk`](https://github.com/swiftwasm/swiftwasm-package-sdk) and [`swiftwasm-sdk`](https://github.com/swiftwasm/swiftwasm-sdk) repos, those probably can be archived.

As a small cleanup addition, `.github/workflows/main.yml` file now has consistent indentation.

* Move packaging scripts from swiftwasm-package-sdk
* Rename `wasm` directory to `webassembly`
* Make all .sh scripts executable after download
* Make sdkroot/swiftwasm script executable
* Add newline to build-mac-package.sh
* Add newline to build-packages.sh
* Remove swift_start.o and swift_end.o
pull bot pushed a commit that referenced this pull request Apr 14, 2020
New versions of Python warn if the literal is not escaped. Specifically:

    "Support for nested sets and set operations in regular expressions as in
    Unicode Technical Standard #18 might be added in the future. This would
    change the syntax. To facilitate this future change a FutureWarning will
    be raised in ambiguous cases for the time being. That include sets
    starting with a literal '[' or containing literal character sequences
    '--', '&&', '~~', and '||'. To avoid a warning, escape them with a
    backslash. (Contributed by Serhiy Storchaka in bpo-30349.)"

https://docs.python.org/dev/whatsnew/3.7.html
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