diff --git a/.github/workflows/sudachi-android-build.yml b/.github/workflows/sudachi-android-build.yml index ea85708..00f305f 100644 --- a/.github/workflows/sudachi-android-build.yml +++ b/.github/workflows/sudachi-android-build.yml @@ -11,8 +11,8 @@ on: description: 'select flavor to build(default: ea)' required: false default: 'ea' - # schedule: - # - cron: "0 0 */3 * *" + schedule: + - cron: "0 0 */5 * *" jobs: sudachi_android_build: @@ -28,10 +28,9 @@ jobs: - name: Download sudachi source code run: | cd ${{ github.workspace }} - git clone --branch ${{ github.event.inputs.branch || 'main' }} https://github.com/sudachi-emu/sudachi.git + git clone --branch ${{ github.event.inputs.branch || 'main' }} https://github.com/sudachi-emu/sudachi.git --recursive cd sudachi - git submodule update --force --init --recursive --remote - # cd externals/sirit && git reset --hard + sed -i '120i\ -Wno-unused-function' src/CMakeLists.txt - id: version name: Get version @@ -55,8 +54,7 @@ jobs: - name: Prepare environment run: | - sudo apt-get install ccache glslang-dev glslang-tools - sudo apt remove --purge spirv-tools + sudo apt-get install ccache autoconf cmake g++-11 gcc-11 git glslang-tools libasound2 libboost-context-dev libglu1-mesa-dev libhidapi-dev libpulse-dev libtool libudev-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1 libxext-dev libxkbcommon-x11-0 mesa-common-dev nasm ninja-build qtbase5-dev qtbase5-private-dev qtwebengine5-dev qtmultimedia5-dev libmbedtls-dev catch2 libfmt-dev liblz4-dev nlohmann-json3-dev libzstd-dev libssl-dev libavfilter-dev libavcodec-dev libswscale-dev - name: Build Android run: | @@ -64,7 +62,7 @@ jobs: ccache -sv cd ${{ github.workspace }}/sudachi/src/android chmod +x ./gradlew - ./gradlew "assembleMainlineRelease" + ./gradlew "assemble${{ github.event.inputs.flavor || 'ea' }}Release" # bash gradlew build mv $(find app/build/outputs/apk -type f | grep -E "\.apk$") ${{ github.workspace }}/sudachi-android-${{ github.event.inputs.flavor || 'ea' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk ccache -sv diff --git a/README.md b/README.md index 65d7a42..bb211e2 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This is an automated CI project for suyu, sudachi, strato and mesa turnip. 2. Suyu Windows version is automatically generated every 2 days at 00:00:00 (UTC). 3. Suyu Linux version is automatically generated every 2 days at 00:00:00 (UTC). 4. Mesa Turnip Android version is automatically generated daily at 00:00:00 (UTC). -5. ~~Sudachi Android version is automatically generated every 3 days at 00:00:00 (UTC).~~ +5. Sudachi Android version is automatically generated every 5 days at 00:00:00 (UTC). 6. Strato Android version is automatically generated on the 1st of every month at 00:00:00 (UTC). 7. Naming format: "Project Name - Date - Tag - Branch". (Tag depends on the developer, a decrease in version number does not indicate a backward release version) 8. Release frequency may be adjusted based on project code commit frequency. @@ -36,7 +36,7 @@ The daily release includes all projects that underwent CI execution on that day. [Turnip Android](https://github.com/ImpXada/Auto-CI/releases/tag/mesa-turnip-android) -~~[Sudachi Android](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android)~~ +[Sudachi Android](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android) [Strato Android](https://github.com/ImpXada/Auto-CI/releases/tag/strato-android) diff --git a/README_CN.md b/README_CN.md index c092d18..dad2963 100644 --- a/README_CN.md +++ b/README_CN.md @@ -14,7 +14,7 @@ suyu sudachi strato mesa-turnip的自动CI项目 2. 每2天的00:00:00(UTC)会自动生成Suyu Windows版。 3. 每2天的00:00:00(UTC)会自动生成Suyu Linux版。 4. 每天的00:00:00(UTC)会自动生成Mesa Turnip 安卓版。 -5. ~~每3天的00:00:00(UTC)会自动生成Sudachi安卓版。~~ +5. 每5天的00:00:00(UTC)会自动生成Sudachi安卓版。 6. 每月1号的00:00:00(UTC)会自动生成Strato安卓版。 7. 命名方式为”项目名-日期-Tag-分支“。(Tag取决于开发者,如果出现版本号下降,不代表发包版本落后) 8. 发布频率可能会根据项目代码提交频率进行调整。 @@ -36,7 +36,7 @@ suyu sudachi strato mesa-turnip的自动CI项目 [Turnip Android版](https://github.com/ImpXada/Auto-CI/releases/tag/mesa-turnip-android) -~~[Sudachi Android版](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android)~~ +[Sudachi Android版](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android) [Strato Android版](https://github.com/ImpXada/Auto-CI/releases/tag/strato-android)