diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 739f9f92..9aedd4a3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,7 +20,7 @@ jobs: - name: install frontend dependencies run: pnpm install - name: build tauri app - run: pnpm tauri build --ci -v --target universal-apple-darwin + run: pnpm tauri build --ci -v --target universal-apple-darwin - uses: actions/upload-artifact@v2 with: name: "overlayed-unstable-mac" @@ -46,3 +46,28 @@ jobs: with: name: "overlayed-unstable-windows" path: "**/*.exe" + build-linux: + runs-on: "windows-latest" + steps: + - uses: actions/checkout@v4 + - name: setup node + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: install Rust stable + uses: dtolnay/rust-toolchain@stable + - name: install dependencies (ubuntu only) + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf + - uses: pnpm/action-setup@v2 + with: + version: 8 + - name: install frontend dependencies + run: pnpm install + - name: build tauri app + run: pnpm tauri build --ci -v --target x86_64-unknown-linux-gnu --bundles + - uses: actions/upload-artifact@v2 + with: + name: "overlayed-unstable-windows" + path: "**/*.{deb,appimage}"