-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/lara-js' of github.com:specs-feup/lara-framewor…
…k into feature/lara-js
- Loading branch information
Showing
13 changed files
with
180 additions
and
81 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# This workflow will build a Java project with Ant | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant | ||
|
||
name: Java CI - Lara 2.0 Legacy | ||
|
||
on: | ||
push: | ||
branches: [ lara-2.0-legacy ] | ||
pull_request: | ||
branches: [ lara-2.0-legacy ] | ||
|
||
# Daily at midnight | ||
schedule: | ||
- cron: '0 0 * * *' | ||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
#defaults: | ||
# run: | ||
# working-directory: ./.. | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
#- name: Show working dir | ||
# run: | | ||
# ls -la | ||
# | ||
#- name: Show parent dir | ||
# run: | | ||
# ls -la ../ | ||
# | ||
#- name: Show home dir | ||
# run: | | ||
# ls -la ~/ | ||
|
||
- name: Cache ivy dependencies | ||
id: cache-nivy | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-ivy-dependencies | ||
with: | ||
# ivy dependencies cache files are stored in `~/.ivy2` on Linux/macOS | ||
path: ~/.ivy2 | ||
key: ${{ runner.os }}-build-${{ env.cache-name }} | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Generate build.xml | ||
run: | | ||
wget -N http://specs.fe.up.pt/tools/eclipse-build.jar | ||
java -jar eclipse-build.jar https://github.com/specs-feup/specs-java-libs ./ | ||
wget -N -O /usr/share/ant/lib/ivy-2.5.0.jar specs.fe.up.pt/libs/ivy-2.5.0.jar | ||
- name: Build with Ant | ||
run: | | ||
ant -noinput -buildfile build.xml | ||
#- name: Copy test results | ||
# run: | | ||
# # Tried relative paths (not supported by junit action) and symlinks (are not followed by glob) | ||
# # Resorted to copying the tests to a folder in the repo folder | ||
# cp -a reports-eclipse-build/. lara-framework/junit-reports/ | ||
- name: Publish Test Report | ||
uses: mikepenz/[email protected] | ||
if: always() # always run even if the previous step fails | ||
with: | ||
report_paths: '**/reports-eclipse-build/TEST-*.xml' | ||
summary: true | ||
#exclude_sources: '' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# This workflow will build a Java project with Ant | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant | ||
|
||
name: Java CI - Lara JS | ||
|
||
on: | ||
push: | ||
branches: [ feature/lara-js ] | ||
pull_request: | ||
branches: [ feature/lara-js ] | ||
|
||
# Daily at midnight | ||
schedule: | ||
- cron: '0 0 * * *' | ||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
#defaults: | ||
# run: | ||
# working-directory: ./.. | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
#- name: Show working dir | ||
# run: | | ||
# ls -la | ||
# | ||
#- name: Show parent dir | ||
# run: | | ||
# ls -la ../ | ||
# | ||
#- name: Show home dir | ||
# run: | | ||
# ls -la ~/ | ||
|
||
- name: Cache ivy dependencies | ||
id: cache-nivy | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-ivy-dependencies | ||
with: | ||
# ivy dependencies cache files are stored in `~/.ivy2` on Linux/macOS | ||
path: ~/.ivy2 | ||
key: ${{ runner.os }}-build-${{ env.cache-name }} | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Generate build.xml | ||
run: | | ||
wget -N http://specs.fe.up.pt/tools/eclipse-build.jar | ||
java -jar eclipse-build.jar https://github.com/specs-feup/specs-java-libs ./ | ||
wget -N -O /usr/share/ant/lib/ivy-2.5.0.jar specs.fe.up.pt/libs/ivy-2.5.0.jar | ||
- name: Build with Ant | ||
run: | | ||
ant -noinput -buildfile build.xml | ||
#- name: Copy test results | ||
# run: | | ||
# # Tried relative paths (not supported by junit action) and symlinks (are not followed by glob) | ||
# # Resorted to copying the tests to a folder in the repo folder | ||
# cp -a reports-eclipse-build/. lara-framework/junit-reports/ | ||
- name: Publish Test Report | ||
uses: mikepenz/[email protected] | ||
if: always() # always run even if the previous step fails | ||
with: | ||
report_paths: '**/reports-eclipse-build/TEST-*.xml' | ||
summary: true | ||
#exclude_sources: '' |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" output="bin/main" path="src"> | ||
<attributes> | ||
<attribute name="gradle_scope" value="main"/> | ||
<attribute name="gradle_used_by_scope" value="main,test"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="bin/test" path="test"> | ||
<attributes> | ||
<attribute name="gradle_scope" value="test"/> | ||
<attribute name="gradle_used_by_scope" value="test"/> | ||
<attribute name="test" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/> | ||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="test"/> | ||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/WeaverInterface"/> | ||
<classpathentry exported="true" kind="src" path="/SpecsUtils"/> | ||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/LanguageSpecification"/> | ||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/tdrcLibrary"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> | ||
<attributes> | ||
<attribute name="module" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/LaraUtils"/> | ||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/CommonsCompressPlus"/> | ||
<classpathentry exported="true" kind="src" path="/CommonsLangPlus"/> | ||
<classpathentry kind="output" path="bin/default"/> | ||
<classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=LARAC&ivyXmlPath=ivy.xml&confs=*"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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
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
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
2 changes: 1 addition & 1 deletion
2
LARAI/resources/larai/test/weaver/results/WeaverOptionsTest.lara.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Original verbose level: 2 | ||
New verbose level: 3 | ||
Original output folder: undefined | ||
Original output folder: . | ||
New output folder: subfolder | ||
Supported languages: [] |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" output="bin/main" path="src-java"> | ||
<classpathentry kind="src" path="src-java"/> | ||
<classpathentry kind="src" path="src-lara"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> | ||
<attributes> | ||
<attribute name="gradle_scope" value="main"/> | ||
<attribute name="gradle_used_by_scope" value="main,test"/> | ||
<attribute name="module" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="bin/main" path="src-lara"> | ||
<attributes> | ||
<attribute name="gradle_scope" value="main"/> | ||
<attribute name="gradle_used_by_scope" value="main,test"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/> | ||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> | ||
<classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=LaraApi&ivyXmlPath=ivy.xml&confs=*"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/LaraUtils"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/SpecsUtils"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/CommonsLangPlus"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/Gprofer"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/XStreamPlus"/> | ||
<classpathentry kind="output" path="bin/default"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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
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