cache only android deps
Some checks are pending
Cache Dependencies / test (push) Waiting to run

only have linux build as an artifact
This commit is contained in:
OmarHatem 2024-08-14 01:37:04 +03:00
parent 390fdda023
commit 20252cdea8
2 changed files with 12 additions and 20 deletions

View file

@ -37,12 +37,7 @@ jobs:
channel: stable channel: stable
- name: Install package dependencies - name: Install package dependencies
run: sudo apt-get install -y curl unzip automake build-essential file pkg-config git python-is-python3 libtool libtinfo5 cmake clang run: sudo apt-get install -y curl unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake clang
- name: Install desktop dependencies
run: |
sudo apt update
sudo apt install -y ninja-build libgtk-3-dev gperf
- name: Execute Build and Setup Commands - name: Execute Build and Setup Commands
run: | run: |
@ -73,7 +68,3 @@ jobs:
cd /opt/android/cake_wallet/scripts/android/ cd /opt/android/cake_wallet/scripts/android/
source ./app_env.sh cakewallet source ./app_env.sh cakewallet
./build_monero_all.sh ./build_monero_all.sh
cd ../linux/
source ./app_env.sh cakewallet
./app_config.sh
./build_monero_all.sh

View file

@ -174,13 +174,14 @@ jobs:
with: with:
path: /opt/android/cake_wallet/build/linux/x64/release/${{env.BRANCH_NAME}}.zip path: /opt/android/cake_wallet/build/linux/x64/release/${{env.BRANCH_NAME}}.zip
- name: Send Test APK # Just as an artifact would be enough
continue-on-error: true # - name: Send Test APK
uses: adrey/slack-file-upload-action@1.0.5 # continue-on-error: true
with: # uses: adrey/slack-file-upload-action@1.0.5
token: ${{ secrets.SLACK_APP_TOKEN }} # with:
path: /opt/android/cake_wallet/build/linux/x64/release/${{env.BRANCH_NAME}}.zip # token: ${{ secrets.SLACK_APP_TOKEN }}
channel: ${{ secrets.SLACK_APK_CHANNEL }} # path: /opt/android/cake_wallet/build/linux/x64/release/${{env.BRANCH_NAME}}.zip
title: "${{ env.BRANCH_NAME }}_linux.zip" # channel: ${{ secrets.SLACK_APK_CHANNEL }}
filename: ${{ env.BRANCH_NAME }}_linux.zip # title: "${{ env.BRANCH_NAME }}_linux.zip"
initial_comment: ${{ github.event.head_commit.message }} # filename: ${{ env.BRANCH_NAME }}_linux.zip
# initial_comment: ${{ github.event.head_commit.message }}