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

Migrate to github actions #105

Merged
merged 3 commits into from
Nov 16, 2020
Merged

Migrate to github actions #105

merged 3 commits into from
Nov 16, 2020

Conversation

owarai
Copy link
Collaborator

@owarai owarai commented Nov 16, 2020

To make github actions run successfully, there are two issues just fixed:

  1. javadoc generation with backward compatible option: --no-module-directories

    Due to https://bugs.openjdk.java.net/browse/JDK-8196202 JDK 11 breaks
    the search box in generated javadocs because module directories are
    assumed.

    This JDK bug is fixed in JDK 12, but until then we need to add
    '--no-module-directories' to the javadoc options.

    After JDK12, this option is been removed, so we should not add it then.

  2. windows encoding

    Fix build failure in windows caused by encoding

    error info: error: unmappable character for encoding Cp1252.
    windows seems try to detect character encoding when scan non-ascii
    characters, but an incorrect encoding is determined.

    We explicitly set compile/compileTest/javadoc encoding to utf-8 to avoid
    this.

error info: error: unmappable character for encoding Cp1252.
windows seems try to detect character encoding when scan non-ascii
characters, but an incorrect encoding is determined.

We explicitly set compile/compileTest/javadoc encoding to utf-8 to avoid
this.

Note: A one-shot config good enough is not found currently.
@owarai owarai requested a review from Xuanwo November 16, 2020 05:54
also remove travis-ci config.
@Xuanwo Xuanwo merged commit 4dbe8c5 into qingstor:master Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants