-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename org.jetbrains.jwm -> io.github.humbleui.jwm, build single jwm.…
- Loading branch information
Showing
118 changed files
with
503 additions
and
1,080 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,84 @@ | ||
name: Build and publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
paths-ignore: | ||
- .gitignore | ||
- 'docs/**' | ||
- 'examples/**' | ||
- 'extras/**' | ||
- LICENSE | ||
- README.md | ||
|
||
jobs: | ||
build_linux: | ||
runs-on: ubuntu-latest | ||
container: tonsky/jwm:latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: bash -c 'source /etc/profile && python3 script/build.py --only native' | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: native | ||
path: linux/build/libjwm_x64.so | ||
|
||
build_windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: seanmiddleditch/gha-setup-ninja@master | ||
- run: | | ||
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV | ||
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH | ||
shell: bash | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: amd64 | ||
- run: python3 script/build.py --only native | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: native | ||
path: windows/build/jwm_x64.dll | ||
|
||
build_macos: | ||
runs-on: macos-10.15 | ||
needs: shared | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: seanmiddleditch/gha-setup-ninja@master | ||
- run: | | ||
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV | ||
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH | ||
- run: python3 script/build.py --arch=x64 --only native | ||
- run: python3 script/build.py --arch=arm64 --only native | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: native | ||
path: | | ||
macos/build/libjwm_x64.dylib | ||
macos/build/libjwm_arm64.dylib | ||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: [build_linux,build_windows,build_macos] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV | ||
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH | ||
- run: python3 script/build.py --only java | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: native | ||
path: target/classes | ||
- run: python3 ./script/package.py --ref ${{ github.ref }} | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: jars | ||
path: 'target/*.jar' | ||
- if: startsWith(${{ github.ref }}, 'refs/tags/') | ||
run: python3 ./script/deploy.py --ref ${{ github.ref }} |
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
deploy/META-INF/maven/io.github.humbleui.jwm/jwm/pom.properties
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,3 @@ | ||
artifactId=jwm | ||
groupId=io.github.humbleui.jwm | ||
version=${version} |
6 changes: 3 additions & 3 deletions
6
.../maven/org.jetbrains.jwm/jwm-full/pom.xml → .../maven/io.github.humbleui.jwm/jwm/pom.xml
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
File renamed without changes.
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
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...a/org/jetbrains/jwm/examples/Example.java → examples/java/Example.java
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
4 changes: 2 additions & 2 deletions
4
...ava/org/jetbrains/jwm/examples/Panel.java → examples/java/Panel.java
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
4 changes: 2 additions & 2 deletions
4
...etbrains/jwm/examples/PanelAnimation.java → examples/java/PanelAnimation.java
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
4 changes: 2 additions & 2 deletions
4
...g/jetbrains/jwm/examples/PanelEvents.java → examples/java/PanelEvents.java
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
4 changes: 2 additions & 2 deletions
4
...g/jetbrains/jwm/examples/PanelLegend.java → examples/java/PanelLegend.java
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
4 changes: 2 additions & 2 deletions
4
...rg/jetbrains/jwm/examples/PanelMouse.java → examples/java/PanelMouse.java
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
4 changes: 2 additions & 2 deletions
4
...rains/jwm/examples/PanelMouseCursors.java → examples/java/PanelMouseCursors.java
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
Oops, something went wrong.