Skip to content

Commit

Permalink
fix: actions - build android
Browse files Browse the repository at this point in the history
  • Loading branch information
lambiengcode committed Oct 16, 2023
1 parent bc5bf82 commit 1aaaf19
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,24 @@ jobs:
# 13G
sudo rm -rf /usr/local/lib/android
df -h
- run: ./build.${{ matrix.name }}.sh "${{ github.event.inputs.commitHash }}"
- name: Setup ${{ matrix.name }} for x86_64
if: endsWith(matrix.name, '_x86_64')
run: sudo scripts/apt_install_x86_64.sh
- name: Setup ${{ matrix.name }} for arm
if: contains(matrix.name, '_armv')
run: sudo scripts/apt_install_arm.sh
- name: Setup ${{ matrix.name }} for android
if: matrix.name == 'android'
run: sudo scripts/apt_install_x86_64.sh && sudo apt-get install -y openjdk-11-jdk
- name: Build ${{ matrix.name }}
run: |
python3 run.py build ${{ matrix.name }}
python3 run.py package ${{ matrix.name }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: webrtc.${{ matrix.name }}.tar.gz
path: build/_package/${{ matrix.name }}/webrtc.tar.gz
path: _package/${{ matrix.name }}/webrtc.${{ matrix.name }}.tar.gz
create-release:
name: Create Release
if: contains(github.ref, 'tags/m')
Expand Down

0 comments on commit 1aaaf19

Please sign in to comment.