Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Update README and support strato CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ImpXada committed Apr 2, 2024
1 parent d399059 commit 90b218f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 12 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/strato-android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
description: 'select flavor to build(default: mainline)'
required: false
default: 'mainline'
# schedule:
# - cron: "30 0 */2 * *"
schedule:
- cron: "0 0 1 * *"

jobs:
strato_android_build:
Expand All @@ -28,7 +28,14 @@ jobs:
- name: Download strato source code
run: |
cd ${{ github.workspace }}
git clone --branch ${{ github.event.inputs.branch || 'master' }} https://github.com/strato-emu/strato.git --recursive
git clone --branch ${{ github.event.inputs.branch || 'master' }} https://github.com/strato-emu/strato.git
cd strato
git config --global user.email "autoci@impxada.com"
git config --global user.name "impxada-autoci"
git config -f .gitmodules submodule.Sirit.url https://github.com/yuzu-mirror/sirit
git add .gitmodules
git commit -m "Update submodule URL"
git submodule update --init --recursive
- id: version
name: Get version
Expand Down Expand Up @@ -66,9 +73,16 @@ jobs:
mv $(find app/build/outputs/apk -type f | grep -E "\.apk$") ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk
ccache -s
- name: Release Strato
- name: Release Strato Android (Strato-Android)
uses: softprops/action-gh-release@v2
with:
name: Strato Android ${{ steps.version.outputs.date }}
tag_name: strato-android
files: ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk

- name: Release Strato Android ${{ steps.version.outputs.date }}
uses: softprops/action-gh-release@v2
with:
name: ${{ steps.version.outputs.date }}
tag_name: ${{ steps.version.outputs.date }}
files: ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk
files: ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@

## Project Introduction

This is an automated CI project for suyu, sudachi, and mesa turnip.
This is an automated CI project for suyu, sudachi, strato and mesa turnip.

## Release Notes

1. Suyu Android version is automatically generated daily at 00:00:00 (UTC).
2. Suyu Windows version is automatically generated every 2 days at 00:00:00 (UTC).
3. Mesa Turnip Android version is automatically generated daily at 00:00:00 (UTC).
4. Sudachi Android version is automatically generated every 3 days at 00:00:00 (UTC).
5. Naming format: "Project Name - Date - Tag - Branch". (Tag depends on the developer, a decrease in version number does not indicate a backward release version)
6. Release frequency may be adjusted based on project code commit frequency.
5. Strato Android version is automatically generated on the 1st of every month at 00:00:00 (UTC).
6. Naming format: "Project Name - Date - Tag - Branch". (Tag depends on the developer, a decrease in version number does not indicate a backward release version)
7. Release frequency may be adjusted based on project code commit frequency.

## Driver Usage Instructions

Expand All @@ -34,8 +35,11 @@ The daily release includes all projects that underwent CI execution on that day.

[Sudachi Android](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android)

[Strato Android](https://github.com/ImpXada/Auto-CI/releases/tag/strato-android)

## Project Source Code

1. [Suyu](https://git.suyu.dev/suyu/suyu)
2. [Turnip](https://gitlab.freedesktop.org/mesa/mesa)
3. [Sudachi](https://github.com/sudachi-emu/sudachi)
4. [Strato](https://github.com/strato-emu/strato)
12 changes: 8 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# Auto-CI

<p align="center">
<a href="./README_EN.md">English</a> | <a href="./README.md">简体中文</a>
<a href="./README.md">English</a> | <a href="./README_CN.md">简体中文</a>
</p>

## 项目介绍

suyu sudachi turnip mesa的自动CI项目
suyu sudachi strato mesa-turnip的自动CI项目

## 发布说明

1. 每天的00:00:00(UTC)会自动生成Suyu安卓版。
2. 每2天的00:00:00(UTC)会自动生成Suyu Windows版。
3. 每天的00:00:00(UTC)会自动生成Mesa Turnip 安卓版。
4. 每3天的00:00:00(UTC)会自动生成Sudachi安卓版。
5. 命名方式为”项目名-日期-Tag-分支“。(Tag取决于开发者,如果出现版本号下降,不代表发包版本落后)
6. 发布频率可能会根据项目代码提交频率进行调整。
5. 每月1号的00:00:00(UTC)会自动生成Strato安卓版。
6. 命名方式为”项目名-日期-Tag-分支“。(Tag取决于开发者,如果出现版本号下降,不代表发包版本落后)
7. 发布频率可能会根据项目代码提交频率进行调整。

## 驱动使用说明

Expand All @@ -34,8 +35,11 @@ suyu sudachi turnip mesa的自动CI项目

[Sudachi Android版](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android)

[Strato Android版](https://github.com/ImpXada/Auto-CI/releases/tag/strato-android)

## 项目源码

1. [Suyu](https://git.suyu.dev/suyu/suyu)
2. [Turnip](https://gitlab.freedesktop.org/mesa/mesa)
3. [Sudachi](https://github.com/sudachi-emu/sudachi)
4. [Strato](https://github.com/strato-emu/strato)

0 comments on commit 90b218f

Please sign in to comment.