Skip to content

Commit

Permalink
ci: bumb android jdk to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Mar 28, 2023
1 parent 8149db6 commit d029cfd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Set up JDK 8 (android)
uses: actions/setup-java@v2
- name: Set up JDK 17 (android)
uses: actions/setup-java@v3
with:
java-version: "8"
java-version: "17"
distribution: "adopt"

- name: Setup build and dependencies
run: |
sudo apt-get update
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ jobs:
run: |
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LANGUAGES=all USE_HOME_DIR=1 OSX_MIN=10.12 PCH=0 dmgdist COMPILER=clang++
mv CataclysmBN-${{ inputs.version }}.dmg cbn-${{ matrix.artifact }}-${{ inputs.version }}.dmg
- name: Set up JDK 8 (android)
- name: Set up JDK 17 (android)
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: "8"
java-version: "17"
distribution: "adopt"
- name: Setup Build and Dependencies (android)
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ jobs:
run: |
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LANGUAGES=all USE_HOME_DIR=1 OSX_MIN=10.12 PCH=0 dmgdist COMPILER=clang++
mv CataclysmBN-unstable.dmg cbn-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.dmg
- name: Set up JDK 8 (android)
- name: Set up JDK 17 (android)
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
uses: actions/setup-java@v2
with:
java-version: "8"
java-version: "17"
distribution: "adopt"
- name: Setup Build and Dependencies (android)
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
Expand Down
4 changes: 2 additions & 2 deletions doc/COMPILING/COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ The Gradle project lives in the repository under `android/`. You can build it vi

### Dependencies

* Java JDK 8
* Java JDK 17
* SDL2 (tested with 2.0.8, though a custom fork is recommended with project-specific bugfixes)
* SDL2_ttf (tested with 2.0.14)
* SDL2_mixer (tested with 2.0.2)
Expand All @@ -354,7 +354,7 @@ The Gradle build process automatically installs dependencies from [deps.zip](and

Install Linux dependencies. For a desktop Ubuntu installation:

sudo apt-get install openjdk-8-jdk-headless
sudo apt-get install openjdk-17-jdk-headless

Install Android SDK and NDK:

Expand Down

0 comments on commit d029cfd

Please sign in to comment.