Skip to content

Commit

Permalink
android workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zinuzoid committed Nov 11, 2024
1 parent 7f21d33 commit f2a7449
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Set vars for release
if: startsWith(github.ref, 'refs/tags/v')
run: |
echo "DEBUG=n" >> $GITHUB_ENV
echo "DEBUG=y" >> $GITHUB_ENV
if [ ${{ matrix.target }} = "xcsoar" ]; then
echo "TARGET_FINAL=xcsoar" >> $GITHUB_ENV
fi
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Prepare signing key
shell: bash
if: ${{ matrix.target == 'ANDROID' && startsWith(github.ref, 'refs/tags/v') }}
if: ${{ matrix.target == 'ANDROID' }}
run: |
if [ -n "${{ secrets.XCSOAR_UPLOAD_KEY_JKS_BASE64 }}" ]; then
mkdir -p ~/.android/
Expand All @@ -131,7 +131,7 @@ jobs:
fi
- name: Compile XCSoar - PR
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
if: false
run: |
if [ ${{ matrix.target }} = 'ANDROID' ]; then
make -j$(nproc) TARGET=ANDROID DEBUG=${{ env.DEBUG }} USE_CCACHE=y V=2 \
Expand All @@ -145,14 +145,13 @@ jobs:
fi
- name: Compile XCSoar - Sanitizer Check
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
if: ${{ matrix.target == 'UNIX' }}
run: |
if [ ${{ matrix.target }} = "UNIX" ]; then
make -j$(nproc) TARGET=${{ matrix.target }} DEBUG=${{ env.DEBUG }} USE_CCACHE=y V=2 everything check VFB=y SANITIZE=y DEBUG_GLIBCXX=y
fi
- name: Compile XCSoar - Release
if: startsWith(github.ref, 'refs/tags/v')
run: |
if [ ${{ matrix.target }} = 'ANDROID' ]; then
if [ -n "${{ secrets.XCSOAR_UPLOAD_KEY_JKS_PASSWORD }}" ] && [ -n "${{ secrets.XCSOAR_UPLOAD_KEY_JKS_KEY_ALIAS }}" ]; then
Expand Down

0 comments on commit f2a7449

Please sign in to comment.