Merge pull request #758 from kohlschutter/ck/CandiesTests #176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: runs exhaustive tests | |
run: | | |
export JSWEET_VERBOSE=false | |
cd transpiler | |
mvn clean install -DskipSigning=true | |
cd .. | |
echo 'clone test repositories' | |
git clone https://github.com/lgrignon/jsweet-java-runtime-transpilation-tests.git | |
git clone https://github.com/lgrignon/j4ts-example.git | |
echo 'transpile legacy j4ts sources' | |
cd jsweet-java-runtime-transpilation-tests | |
mvn clean generate-sources | |
cd .. | |
echo 'run j4ts tests' | |
cd j4ts-example | |
mvn clean compile && node target/j4ts-example-bundle.js | |