diff options
| author | 2023-06-05 21:43:43 -0700 | |
|---|---|---|
| committer | 2023-06-05 21:43:43 -0700 | |
| commit | cb95d7fe1b6d81899fe6b279400da2c991e3132c (patch) | |
| tree | a856ac45b1053009c4c11ee141c49d7faa4c8a19 /.github/workflows | |
| parent | Merge pull request #10611 from liamwhite/audio-deadlock (diff) | |
| parent | Merge pull request #10633 from t895/variable-surface-ratio (diff) | |
| download | yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.gz yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.xz yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.zip | |
Merge pull request #10508 from yuzu-emu/lime
Project Lime - yuzu Android Port
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml (renamed from .github/workflows/verify.yml) | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/.github/workflows/verify.yml b/.github/workflows/build.yml index 7cde8380b..9875de206 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/build.yml | |||
| @@ -122,3 +122,62 @@ jobs: | |||
| 122 | with: | 122 | with: |
| 123 | name: ${{ env.INDIVIDUAL_EXE }} | 123 | name: ${{ env.INDIVIDUAL_EXE }} |
| 124 | path: ${{ env.INDIVIDUAL_EXE }} | 124 | path: ${{ env.INDIVIDUAL_EXE }} |
| 125 | android: | ||
| 126 | runs-on: ubuntu-latest | ||
| 127 | needs: format | ||
| 128 | steps: | ||
| 129 | - uses: actions/checkout@v3 | ||
| 130 | with: | ||
| 131 | submodules: recursive | ||
| 132 | - name: Set up cache | ||
| 133 | uses: actions/cache@v3 | ||
| 134 | with: | ||
| 135 | path: | | ||
| 136 | ~/.gradle/caches | ||
| 137 | ~/.gradle/wrapper | ||
| 138 | ~/.ccache | ||
| 139 | key: ${{ runner.os }}-android-${{ github.sha }} | ||
| 140 | restore-keys: | | ||
| 141 | ${{ runner.os }}-android- | ||
| 142 | - name: Query tag name | ||
| 143 | uses: olegtarasov/get-tag@v2.1.2 | ||
| 144 | id: tagName | ||
| 145 | - name: Install dependencies | ||
| 146 | run: | | ||
| 147 | sudo apt-get update | ||
| 148 | sudo apt-get install -y ccache apksigner glslang-dev glslang-tools | ||
| 149 | git -C ./externals/vcpkg/ fetch --all --unshallow | ||
| 150 | - name: Build | ||
| 151 | run: ./.ci/scripts/android/build.sh | ||
| 152 | - name: Copy and sign artifacts | ||
| 153 | env: | ||
| 154 | ANDROID_KEYSTORE_B64: ${{ secrets.ANDROID_KEYSTORE_B64 }} | ||
| 155 | ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} | ||
| 156 | ANDROID_KEYSTORE_PASS: ${{ secrets.ANDROID_KEYSTORE_PASS }} | ||
| 157 | run: ./.ci/scripts/android/upload.sh | ||
| 158 | - name: Upload | ||
| 159 | uses: actions/upload-artifact@v3 | ||
| 160 | with: | ||
| 161 | name: android | ||
| 162 | path: artifacts/ | ||
| 163 | release: | ||
| 164 | runs-on: ubuntu-latest | ||
| 165 | needs: [ android ] | ||
| 166 | if: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
| 167 | steps: | ||
| 168 | - uses: actions/download-artifact@v3 | ||
| 169 | - name: Create release | ||
| 170 | uses: actions/create-release@v1 | ||
| 171 | env: | ||
| 172 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| 173 | with: | ||
| 174 | tag_name: ${{ github.ref_name }} | ||
| 175 | release_name: ${{ github.ref_name }} | ||
| 176 | draft: false | ||
| 177 | prerelease: false | ||
| 178 | - name: Upload artifacts | ||
| 179 | uses: alexellis/upload-assets@0.4.0 | ||
| 180 | env: | ||
| 181 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| 182 | with: | ||
| 183 | asset_paths: '["./**/*.tar.*","./**/*.AppImage","./**/*.7z","./**/*.zip","./**/*.apk","./**/*.aab"]' | ||