forked from eclipse-xtext/xtext
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* xtext-dev-bom as a Maven project * parent POM with starting target platform * ignore target * .xbase.lib compiles * .xbase.lib Maven/Tycho project * build .xbase.lib * fixed version in BOM * GitHub Actions workflow * xtend.lib.macro compiles * .xtend.lib.macro as Maven/Tycho project * build .xtend.lib.macro * .xtend.lib compiles * .xtend.lib as Maven/Tycho project * build .xtend.lib * guava-testlib in TP as Maven artifact * .xbase.lib.tests compiles * .xtend.lib.tests as Maven/Tycho project * build xbase.lib.tests, tests are green * xtend.lib.tests compiles * xtend.lib.tests Maven/Tycho project * build xtend.lib.tests, tests are green * xbase.lib.gwt removed gradle nature * added POM to xbase.lib.gwt taking inspiration from https://github.com/eclipse/xtext/tree/v2.10.0/plugins/org.eclipse.xtext.xbase.lib.gwt * xbase.lib.gwt as Maven/tycho project * xbase.lib.gwt removed gradle nature * xtend.lib.gwt as Maven/tycho project * .xtend.lib.gwt compiles as Maven project * fixed xtend.lib.gwt.test * build xbase.lib.feature * build xtend.lib.feature * added names to features' POMs * p2 repository * removed old releng directory * updated Jenkins build * removed features from the p2 repository * Revert "removed features from the p2 repository" This reverts commit 8f2a288c895f2f8f8d13c897b2906aa0c8b57d92. * updated project configuration * changed groupId of features Because they have the same artifactId of bundles * xbase.lib.tests is a pure Maven project No need to have guava-testlib in the target platform, since we consume it as a Maven dependency * put comment in the right place in the POM * eclipse-jarsigner-plugin * eclipse-sign profile in Jenkins * separate projects for p2 and maven * harmonized parent with xtext-core parent * harmonized parent with xtext-extras parent * harmonized parent with xtext-xtend parent * prepared sonatype-oss-release profile * distributionManagement * prepared Jenkinsfile for Maven deploy * skipTests in profile sonatype-oss-release * reference to Maven releng project * distributionManagement in dev-bom because it does not inherit from the parent * updated distributionManagement release repository * removed wrong configuration option of javadoc plugin * eclipse-sign also when deploying Maven artifacts * renamed maven aggregator artifactId * removed blank line * removed organization for Sebastian * removed dep com.google.code.findbugs:jsr305 * versions-maven-plugin * a profile mentioning releng children * removed old xtext-current-release-version * xtend-maven-plugin-version 2.30.0.M2 * harmonized parent POM with other projects * harmonized Jenkins script with other projects separate maven build, tycho test and tycho sign * coinfigured maven-jar-plugin * configured maven-source-plugin * set execution bit * skip main "compile" goal of xtend-maven-plugin to avoid generated sources to be considered as main sources by the maven-compiler-plugin * profile buildP2Repository * configured exec-maven-plugin * added source bundles in features As it used to be in the original * update to lsp4j 0.20.0 * disable p2 sign in Jenkinsfile * bumped 2.31.0 in POMs * xtend-maven-plugin-version 2.30.0 * updated other eclipse metadata to 2.31.0 * removed gradle files
- Loading branch information
1 parent
8b723c9
commit acae65b
Showing
127 changed files
with
2,398 additions
and
1,700 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,30 @@ | ||
name: Clear all caches | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
actions: write | ||
|
||
jobs: | ||
clear-all-caches: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clear cache | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
console.log("About to clear") | ||
const caches = await github.rest.actions.getActionsCacheList({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
}) | ||
for (const cache of caches.data.actions_caches) { | ||
console.log(cache) | ||
github.rest.actions.deleteActionsCacheById({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
cache_id: cache.id, | ||
}) | ||
} | ||
console.log("Clear completed") |
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,62 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- '**.md' | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: 'Check out repository' | ||
uses: actions/checkout@v3 | ||
|
||
- name: 'Set up Java' | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: 'temurin' | ||
|
||
- name: 'Cache Maven packages' | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml', '**/*.target') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
- name: 'Build and test' | ||
run: mvn clean verify -PuseJenkinsSnapshots | ||
working-directory: org.eclipse.xtext.p2.releng | ||
|
||
build-maven-artifacts: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 'Check out repository' | ||
uses: actions/checkout@v3 | ||
|
||
- name: 'Set up Java' | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: 'Cache Maven packages' | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/*.target') }} | ||
restore-keys: ${{ runner.os }}-maven | ||
|
||
- name: Build Maven artifacts | ||
run: mvn clean verify -PuseJenkinsSnapshots | ||
working-directory: org.eclipse.xtext.maven.releng |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ build/ | |
*.xtendbin | ||
org.eclipse.buildship.core.prefs | ||
.DS_Store | ||
target |
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,2 +1,2 @@ | ||
eclipse.preferences.version=1 | ||
encoding/<project>=UTF-8 | ||
encoding/<project>=ISO-8859-1 |
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,4 @@ | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
resolveWorkspaceProjects=true | ||
version=1 |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.