Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 31, 2024
1 parent 14cd47b commit b3b85ca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ jobs:
flutter config --no-analytics
flutter pub get
- name: Setup NDK
run: |
wget https://dl.google.com/android/repository/android-ndk-r26b-linux.zip
unzip android-ndk-r26b-linux.zip
echo "sdk.dir=$ANDROID_HOME" > local.properties
echo "ndk.dir=$GITHUB_WORKSPACE/android-ndk-r26b" >> local.properties
- name: Setup CMake
run: |
sudo apt-get update
sudo apt-get install -y cmake=3.26.0-1ubuntu1
- name: Build APK
run: |
flutter build apk --split-per-abi
Expand All @@ -58,7 +70,7 @@ jobs:
- name: Build appbundle
run: |
flutter build appbundle
- name: Upload AAB
uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build pkg-config libgtk-3-dev libvulkan-dev
sudo apt-get install -y cmake ninja-build pkg-config libgtk-3-dev libvulkan-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good
- name: Build Linux App
run: |
Expand Down Expand Up @@ -85,4 +85,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: maid-appimage
path: ./maid.AppImage
path: ./maid.AppImage

0 comments on commit b3b85ca

Please sign in to comment.