diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 597091c..f990e3b 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build Windows +name: Build on: push: @@ -38,10 +38,50 @@ jobs: - name: Build Tauri app run: npm run tauri build - - name: Upload artifacts + - name: Upload MSI installer uses: actions/upload-artifact@v4 with: - name: windows-installer - path: | - src-tauri/target/release/bundle/msi/*.msi - src-tauri/target/release/bundle/nsis/*-setup.exe + name: windows-msi + path: src-tauri/target/release/bundle/msi/*.msi + + build-linux: + runs-on: linux + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + override: true + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y libwebkit2gtk-4.0-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev + + - name: Install dependencies (root) + run: npm install + + - name: Install dependencies (cinny) + working-directory: ./cinny + run: npm install + + - name: Build Tauri app + run: npm run tauri build + + - name: Upload AppImage + uses: actions/upload-artifact@v4 + with: + name: linux-appimage + path: src-tauri/target/release/bundle/appimage/*.AppImage diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b67d934..10fadc2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -45,7 +45,8 @@ "wix": { "bannerPath": "wix/banner.bmp", "dialogImagePath": "wix/dialogImage.bmp" - } + }, + "nsis": null } }, "updater": {