Upgrade GitHub Actions workflows to macOS 13 and Ubuntu 22.04 LTS (Ja… #79
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
name: leptonica | |
on: | |
push: | |
paths: | |
- leptonica/** | |
- .github/workflows/leptonica.yml | |
pull_request: | |
paths: | |
- leptonica/** | |
- .github/workflows/leptonica.yml | |
workflow_dispatch: | |
env: | |
CI_DEPLOY_NEED_GCC: 1 | |
CI_DEPLOY_MODULE: ${{ github.workflow }} | |
CI_DEPLOY_PLATFORM: ${{ github.job }} | |
CI_DEPLOY_SETTINGS: ${{ secrets.CI_DEPLOY_SETTINGS }} | |
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} | |
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} | |
STAGING_REPOSITORY: ${{ secrets.STAGING_REPOSITORY }} | |
jobs: | |
# android-arm: | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
android-arm64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
# android-x86: | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
android-x86_64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
# linux-armhf: | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
linux-arm64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
# linux-ppc64le: | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
# linux-x86: | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
linux-x86_64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
macosx-arm64: | |
runs-on: macos-13 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/deploy-macosx@actions | |
macosx-x86_64: | |
runs-on: macos-13 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/deploy-macosx@actions | |
# windows-x86: | |
# runs-on: windows-2019 | |
# steps: | |
# - uses: bytedeco/javacpp-presets/.github/actions/deploy-windows@actions | |
windows-x86_64: | |
runs-on: windows-2019 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/deploy-windows@actions | |
redeploy: | |
# needs: [android-arm, android-arm64, android-x86, android-x86_64, linux-armhf, linux-arm64, linux-ppc64le, linux-x86, linux-x86_64, macosx-arm64, macosx-x86_64, windows-x86, windows-x86_64] | |
needs: [android-arm64, android-x86_64, linux-arm64, linux-x86_64, macosx-arm64, macosx-x86_64, windows-x86_64] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: bytedeco/javacpp-presets/.github/actions/redeploy@actions |