From 78fbabc1ddbab693aaf1db9e10600181c1f13ef1 Mon Sep 17 00:00:00 2001 From: y1lm0z <1+y1lm0z@noreply.localhost> Date: Tue, 14 Jul 2026 15:17:54 +0000 Subject: [PATCH] .gitea/workflows/build.yml Sil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit buid sşlme --- .gitea/workflows/build.yml | 84 -------------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml deleted file mode 100644 index a2592b1..0000000 --- a/.gitea/workflows/build.yml +++ /dev/null @@ -1,84 +0,0 @@ -name: Build Ceviri Uygulamasi - -on: - push: - branches: [main, master] - workflow_dispatch: {} - -jobs: - build-android: - runs-on: docker - container: - image: ghcr.io/cirruslabs/flutter:stable - steps: - # Node ve Git'in Android imajında kurulu olduğundan emin olmak için isteğe bağlı hazırlık adımı: - - name: Runner Hazirligi (Node ve Git) - run: | - apt-get update && apt-get install -y git nodejs || true - - - name: Kodu al - uses: https://gitea.com/actions/checkout@v4 - - - name: Bagimliliklari indir - run: flutter pub get - - - name: APK derle - run: flutter build apk --release - - - name: APK'yi artifact olarak yukle - uses: https://gitea.com/actions/upload-artifact@v4 - with: - name: ceviri-android-apk - path: build/app/outputs/flutter-apk/app-release.apk - - build-linux: - runs-on: docker - container: - image: ubuntu:24.04 - steps: - # BURASI KRİTİK: Kodu çekmeden ve sistem paketlerini kurmadan önce Node ve Git'i kuruyoruz - - name: Node ve Git Kur (Action'ların çalışabilmesi için şart) - run: | - apt-get update - apt-get install -y git nodejs curl unzip xz-utils - - - name: Kodu al - uses: https://gitea.com/actions/checkout@v4 - - - name: Sistem bagimliliklarini kur - run: | - apt-get update - apt-get install -y clang cmake ninja-build \ - pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev - - - name: Flutter SDK kur - run: | - git clone https://github.com/flutter/flutter.git -b stable --depth 1 /opt/flutter - echo "/opt/flutter/bin" >> "$GITHUB_PATH" - - - name: Linux masaustu destegini ac - run: | - export PATH="/opt/flutter/bin:$PATH" - flutter config --enable-linux-desktop - flutter doctor - - - name: Bagimliliklari indir - run: | - export PATH="/opt/flutter/bin:$PATH" - flutter pub get - - - name: Linux derle - run: | - export PATH="/opt/flutter/bin:$PATH" - flutter build linux --release - - - name: Bundle'i sikistir - run: | - cd build/linux/x64/release - tar -czf ceviri-linux-bundle.tar.gz bundle - - - name: Linux bundle'i artifact olarak yukle - uses: https://gitea.com/actions/upload-artifact@v4 - with: - name: ceviri-linux-bundle - path: build/linux/x64/release/ceviri-linux-bundle.tar.gz \ No newline at end of file