summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-02-22 16:36:37 +0100
committerDavid Lönnhager <david.l@mullvad.net>2025-03-05 23:32:13 +0100
commit5191c455b76fed7cfaac0e3a7593f422553d42a8 (patch)
tree934fe562b7380b459c737b84dbf5a44b617b9346 /.github
parenta343c50b33f254c50fc42dd874fcbca5a84f6d3f (diff)
downloadmullvadvpn-5191c455b76fed7cfaac0e3a7593f422553d42a8.tar.xz
mullvadvpn-5191c455b76fed7cfaac0e3a7593f422553d42a8.zip
Add packaging of macOS app to build.sh
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/downloader.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/downloader.yml b/.github/workflows/downloader.yml
index ae8aabd4a8..9b25aa783b 100644
--- a/.github/workflows/downloader.yml
+++ b/.github/workflows/downloader.yml
@@ -55,13 +55,12 @@ jobs:
- name: Check file size
uses: ./.github/actions/check-file-size
with:
- artifact: "C:/cargo-target/release/installer-downloader.exe"
+ artifact: "./installer-downloader/dist/MullvadDownloader.exe"
max_size: ${{ env.MAX_BINARY_SIZE }}
build-macos:
runs-on: macos-latest
env:
- # TODO: Figure out a reasonable limit for macOS
# If the file is larger than this, a regression has probably been introduced.
# You should think twice before increasing this limit.
MAX_BINARY_SIZE: 2097152
@@ -69,12 +68,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
+ - name: Install Rust
+ run: rustup target add x86_64-apple-darwin
+
- name: Build
- shell: bash
run: ./installer-downloader/build.sh
- name: Check file size
uses: ./.github/actions/check-file-size
with:
- artifact: "./target/release/installer-downloader"
+ artifact: "./installer-downloader/dist/MullvadDownloader.dmg"
max_size: ${{ env.MAX_BINARY_SIZE }}