Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wysaid committed May 5, 2024
1 parent 5e12ceb commit 9db8500
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,22 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Release Without Video Module
run: ./tasks.sh --release --enable-cmake --disable-video-module --build
run: ./tasks.sh --enable-cmake --release --disable-video-module --build
- name: Save build artifacts - Release Without Video Module
run: mv $(find "cgeDemo/build" -iname "*.apk" | grep release) demoRelease/cgeDemo_NoVideoRecord.apk
- name: Build Release With Video Module
run: ./tasks.sh --release --enable-cmake --enable-video-module --build
- name: Build Release Without Video Module
run: ./tasks.sh --debug --enable-cmake --disable-video-module --build
- name: Build Release With Video Module
run: ./tasks.sh --debug --enable-cmake --enable-video-module --build
run: ./tasks.sh --enable-cmake --release --enable-video-module --build
- name: Save build artifacts - Release With Video Module
run: mv $(find "cgeDemo/build" -iname "*.apk" | grep release) demoRelease/cgeDemo.apk
- name: lint
run: ./gradlew lint
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: |
demoRelease/cgeDemo_NoVideoRecord.apk
demoRelease/cgeDemo.apk
compression-level: 0
retention-days: 15
if-no-files-found: error

0 comments on commit 9db8500

Please sign in to comment.