diff --git a/.github/workflows/android_bin_build.yml b/.github/workflows/android_bin_build.yml new file mode 100644 index 0000000000000..41d15bf9b55ab --- /dev/null +++ b/.github/workflows/android_bin_build.yml @@ -0,0 +1,61 @@ +# This is a basic workflow to test building for android in a linux environment. + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + # Setup JDK + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'temurin' + + - name: Setup Android NDK + uses: android-actions/setup-ndk@v2 # Or amyu/setup-android@v4 for SDK and NDK + with: + ndk-version: '25.2.9519653' # Specify your desired NDK version + + # Start LibreOffice Build + - name: Announce staret of build + run: echo Start Build for LibreOffice Binaries (Android) + + # Runs a single command using the runners shell + - name: Create setup file for build + run: echo "--with-distro=LibreOfficeAndroid\n--with-android-sdk=$HOME/Android/Sdk\n--with-android-ndk=$HOME/Android/Sdk/ndk/27.2.12479018\n" >> autogen.input + + # Runs a single command using the runners shell + - name: Execute Make Script + run: | + #Execute run scripts + ./autogen + make + + + #- name: Build Android NDK project + # run: | + # # Example native build + # ./gradlew build + + diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml deleted file mode 100644 index df2701495fda3..0000000000000 --- a/.github/workflows/lockdown.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown -# LibreOffice project uses gerrit as its patch management & review system -name: Repo Lockdown - -on: - issues: - types: opened - pull_request_target: - types: opened - -jobs: - point-to-upstream: - runs-on: ubuntu-latest - steps: - - uses: dessant/repo-lockdown@v3 - with: - issue-comment: > - Thank you for your report. We use GitHub as a read-only mirror, so please submit your report into our own bug tracker: https://wiki.documentfoundation.org/QA/BugReport - skip-closed-issue-comment: true - close-issue: true - lock-issue: false - pr-comment: > - Thank you for your contribution. We use GitHub as a read-only mirror, so please submit your patch into our own code review system: https://wiki.documentfoundation.org/Development/GetInvolved - skip-closed-pr-comment: true - close-pr: true - lock-pr: false