From 925864a3cf717cbc6d860e12d1cb8ae45ac46c1e Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 2 Jun 2024 15:30:07 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20.gitea/workflows/debug.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/debug.yml | 43 -------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .gitea/workflows/debug.yml diff --git a/.gitea/workflows/debug.yml b/.gitea/workflows/debug.yml deleted file mode 100644 index d6d5188..0000000 --- a/.gitea/workflows/debug.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: "Debug Build" - -# Controls when the action will run. -on: - push: - branches: - - main - -jobs: - ffmpeg: - name: Native Build (FFmpeg) - runs-on: ndk21 - steps: - - name: Checkout - run: | - git clone https://github.com/TeamPGM/Nagram.git - cd Nagram - git submodule init - git submodule update - - name: Fetch Status - run: | - sed -i 's/\/\///g' settings.gradle - git submodule status TMessagesProj/jni/ffmpeg > ffmpeg_status - git submodule status TMessagesProj/jni/libvpx > libvpx_status - - name: FFmpeg Cache - id: cache - uses: actions/cache@v4 - with: - path: | - TMessagesProj/jni/ffmpeg/build - TMessagesProj/jni/libvpx/build - key: ${{ hashFiles('ffmpeg_status', 'libvpx_status', 'TMessagesProj/jni/*ffmpeg*.sh', 'TMessagesProj/jni/*libvpx*.sh', 'TMessagesProj/jni/patches/ffmpeg/*') }} - - name: Install NDK - if: steps.cache.outputs.cache-hit != 'true' - run: | - echo "sdk.dir=${ANDROID_SDK_ROOT}" > local.properties - echo "ndk.dir=${ANDROID_SDK_ROOT}/ndk/21.4.7075529" >> local.properties - - name: Native Build - if: steps.cache.outputs.cache-hit != 'true' - run: | - sudo apt-get install yasm -y - ./run init libs libvpx - ./run init libs ffmpeg