diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 0000000..7a21b98
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,37 @@
+name: Rust
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ deploy:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [macOS-latest, windows-2019, ubuntu-latest]
+ include:
+ - os: ubuntu-latest
+ command: |
+ sudo apt-get update && sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libgtk-3-dev
+ cd postsack-native
+ ./build_linux.sh
+ binary: target/release/bundle/deb/postsack_1.0.0._x86_64.deb
+ - os: macOS-latest
+ command: |
+ cd postsack-native
+ ./build_mac.sh
+ binary: target/postsack.zip
+ - os: windows-2019
+ command: |
+ cd postsack-native
+ build_windows.bat
+ binary: target/release/postsack
+ steps:
+ - name: Production Build
+ uses: actions/checkout@v2
+ run: ${{ matrix.command }}
+ - name: Archive production artifacts
+ uses: actions/upload-artifact@v2
+ with:
+ name: dist
+ path: ${{ matrix.binary }}
\ No newline at end of file
diff --git a/README.md b/README.md
index c96ac24..f6f1fe4 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,7 @@ emails and allows you to dig into them with a treemap (see screenshot below):
- Save the generated database as a SQLite file so you can do additional queries yourself (or open it again)
- Very fast email parsing / import. My **650k mails are imported in ~1 Minute** on a Macbook M1 Pro Max and ~ 2 Minutes on a Intel Core i7-8700B 3.2 Ghz.
- Cross platform (macOS, Windows, Linux and a [Web Demo](https://terhech.de/postsack_demo))
+- The app is 13MB big and consumes ~150MB of memory on macOS
## It looks like this
@@ -40,11 +41,11 @@ The look is similar on all platforms as it uses the [Rust egui](https://github.c
Here's a video showing the UI in action (e.g. me selecting some mail clusters)
-
+resources/postsack_video.mp4
Here's another video where you can see the importer importer 650k mails (it is a bit boring but.)
-
+resources/postsack_importer_video.mp4
## Web Demo
diff --git a/postsack-native/build_mac.sh b/postsack-native/build_mac.sh
index 62ef41b..26f7fbb 100755
--- a/postsack-native/build_mac.sh
+++ b/postsack-native/build_mac.sh
@@ -27,3 +27,6 @@ mv ./postsack ../target/release/bundle/osx/Postsack.app/Contents/MacOS/
/usr/libexec/PlistBuddy -c "Set :CFBundleExecutable Postsack" "../target/release/bundle/osx/Postsack.app/Contents/Info.plist"
+# Create a zip file
+/usr/bin/zip -5 -r ../target/postsack.zip ../target/release/bundle/osx/Postsack.app
+echo "Wrote zip file ../target/postsack.zip"