aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-07-23 18:36:22 +0100
committerAkshay <[email protected]>2020-07-23 18:36:22 +0100
commitd7c303dda4750a432478c94b3ed41bca1352d839 (patch)
treedccaba932e18a1414d91a67246fba3e0890d27f0 /.github/workflows/main.yml
parent2f47f50b0382491099391185c6a2702b1370b206 (diff)
enable feature based compilation to support windowsv0.2.2-alpha
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e2995b8..5c3e6f9 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -39,7 +39,7 @@ jobs:
39 && sudo apt-get install -y \ 39 && sudo apt-get install -y \
40 libdbus-1-dev 40 libdbus-1-dev
41 - name: Build 41 - name: Build
42 run: cargo build --all --release && strip target/release/dijo 42 run: cargo build -all --no-default-features --features unix --release && strip target/release/dijo
43 43
44 - name: Upload binaries to release 44 - name: Upload binaries to release
45 uses: svenstaro/upload-release-action@v1-release 45 uses: svenstaro/upload-release-action@v1-release
@@ -72,7 +72,7 @@ jobs:
72 override: true 72 override: true
73 73
74 - name: Build for mac 74 - name: Build for mac
75 run: cargo build --all --release && strip target/release/dijo 75 run: cargo build --all --no-default-features --features unix --release && strip target/release/dijo
76 76
77 - name: Upload binaries to release 77 - name: Upload binaries to release
78 uses: svenstaro/upload-release-action@v1-release 78 uses: svenstaro/upload-release-action@v1-release
@@ -106,7 +106,7 @@ jobs:
106 106
107 - name: Build for windows 107 - name: Build for windows
108 run: | 108 run: |
109 cargo build --all --release 109 cargo build --all --no-default-features --features windows --release
110 strip target/release/dijo 110 strip target/release/dijo
111 111
112 - name: Upload binaries to release 112 - name: Upload binaries to release