Skip to content

Commit

Permalink
KTX 1.11.0-rc4 release. #451
Browse files Browse the repository at this point in the history
  • Loading branch information
czyzby committed Jan 26, 2023
2 parents 3a71620 + 86729d2 commit 250e1b5
Show file tree
Hide file tree
Showing 15 changed files with 372 additions and 167 deletions.
2 changes: 2 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ to update the [version.txt](../version.txt) and [milestones](https://github.com/
[vis/README.md](../vis/README.md) file.
- **Ashley**: update `ashleyVersion` in the versions file and Ashely version in the tag on the top of the
[ashley/README.md](../ashley/README.md) file.
- **Artemis-odb**: update `artemisOdbVersion` in the versions file and Artemis-odb version in the tag on the top of the
[artemis/README.md](../artemis/README.md) file.

All the major dependencies updates should be added to the [changelog](../CHANGELOG.md).

Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [1.8, 1.11]
java-version: [8, 11]

steps:
- name: Repository checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: JDK setup
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
- name: Execution permission for Gradle wrapper
run: chmod +x gradlew
distribution: temurin
- name: Gradle setup
uses: gradle/gradle-build-action@v2
- name: Gradle wrapper validation
uses: gradle/wrapper-validation-action@v1
- name: Build
run: ./gradlew assemble install -x dokkaHtml -x dokkaZip
- name: Tests
Expand Down
31 changes: 18 additions & 13 deletions .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,33 @@ name: publish-documentation
on:
push:
branches: [ master ]
workflow_dispatch:

jobs:
build:
publish:
runs-on: ubuntu-latest

steps:
- name: Repository checkout
uses: actions/checkout@v2
with:
persist-credentials: false
uses: actions/checkout@v3
- name: JDK setup
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.11
- name: Execution permission for Gradle wrapper
run: chmod +x gradlew
java-version: 11
distribution: temurin
- name: Save version
shell: bash
run: |
echo "KTX_VERSION=$(cat version.txt)" >> $GITHUB_ENV
- name: Gradle setup
uses: gradle/gradle-build-action@v2
- name: Dokka
run: ./gradlew dokkaHtmlMultiModule
- name: Publish GitHub pages
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
ACCESS_TOKEN: ${{ secrets.accessToken }}
BRANCH: gh-pages
FOLDER: build/dokka/htmlMultiModule
REPOSITORY_NAME: libktx/docs
token: ${{ secrets.accessToken }}
branch: gh-pages
folder: build/dokka/htmlMultiModule
repository-name: libktx/docs
commit-message: 'Documentation of KTX ${{ env.KTX_VERSION }}.'
55 changes: 55 additions & 0 deletions .github/workflows/publish-project-samples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: publish-project-samples
on:
push:
tags: [ '*' ]
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Repository checkout
uses: actions/checkout@v3
with:
repository: tommyettinger/gdx-liftoff
- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- name: Save versions
shell: bash
run: |
echo "LIFTOFF_VERSION=$(cat version.txt)" >> $GITHUB_ENV
echo "KTX_VERSION=$(curl https://raw.githubusercontent.com/libktx/ktx/master/version.txt)" >> $GITHUB_ENV
- name: Gradle setup
uses: gradle/gradle-build-action@v2
- name: Generate sample
run: ./gradlew sample --args="ktx"
- name: Prepare sample for release
run: |
find build/dist/sample/ -type f \( -iname \*.kt -o -iname \*.gradle -o -iname \*.json -o -iname \*.xml \) | xargs sed -i -e 's/\t/ /g'
- name: Publish KTX sample
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.accessToken }}
branch: main
folder: build/dist/sample
repository-name: libktx/ktx-sample-project
commit-message: 'Automatic deployment: KTX ${{ env.KTX_VERSION }}, gdx-liftoff ${{ env.LIFTOFF_VERSION }}.'
- name: Clean basic sample
run: rm -rf build/dist/sample
- name: Generate web sample
run: ./gradlew sample --args="ktx_web"
- name: Prepare sample for release
run: |
find build/dist/sample/ -type f \( -iname \*.kt -o -iname \*.gradle -o -iname \*.json -o -iname \*.xml \) | xargs sed -i -e 's/\t/ /g'
- name: Publish KTX web sample
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.accessToken }}
branch: main
folder: build/dist/sample
repository-name: libktx/ktx-sample-web-project
commit-message: 'Automatic deployment: KTX ${{ env.KTX_VERSION }}, gdx-liftoff ${{ env.LIFTOFF_VERSION }}.'
13 changes: 7 additions & 6 deletions .github/workflows/upload-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@ on:
branches: [ develop ]

jobs:
build:
upload:
runs-on: ubuntu-latest

steps:
- name: Repository checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: JDK setup
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
- name: Execution permission for Gradle wrapper
run: chmod +x gradlew
java-version: 8
distribution: temurin
- name: Gradle setup
uses: gradle/gradle-build-action@v2
- name: Tests
run: ./gradlew check
env:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
_See also: [the official libGDX changelog](https://github.com/libgdx/libgdx/blob/master/CHANGES)._

#### 1.11.0-rc4

- **[UPDATE]** Updated to Kotlin 1.8.0.
- **[UPDATE]** Updated to VisUI 1.5.1.
- **[MISC]** Project README now includes installation instructions for new projects using `gdx-liftoff`.
- **[MISC]** Sample KTX projects are now generated by `gdx-liftoff` on every release.
- [Basic project demo](https://github.com/libktx/ktx-sample-project).
- [Experimental project demo with web support via TeaVM](https://github.com/libktx/ktx-sample-web-project).
- **[MISC]** Removed migration guides from `ktx-scene2d` and `ktx-vis` README files. If you are migrating from an old KTX version, please refer to the *1.11.0-rc3* tag.
- **[FEATURE]** (`ktx-assets-async`) `AssetStorage.silenceAssetManagerWarnings` property was added, allowing to silence logging on non-fatal `AssetLoader` issues.
- **[FEATURE]** (`ktx-assets-async`) `AssetManagerWrapper` warnings caused by `AssetLoader` issues were extended and improved.

#### 1.11.0-rc3

- **[UPDATE]** Updated to Kotlin 1.7.22.
Expand Down
Loading

0 comments on commit 250e1b5

Please sign in to comment.