Skip to content

Commit

Permalink
add windows build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rogchap committed Nov 9, 2020
1 parent 2b09d85 commit d044c29
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
go-version: [1.15.x]
platform: [macos-10.15, ubuntu-16.04]
platform: [macos-10.15, ubuntu-16.04, windows-2019]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
Expand Down Expand Up @@ -70,3 +70,18 @@ jobs:
with:
name: Wombat_${{ env.wombat-version }}_Linux_x86_64.AppImage
path: Wombat_${{ env.wombat-version }}_Linux_x86_64.AppImage

- name: Build for windows
if: matrix.platform == 'windows-2019'
run: |
New-Item -ItemType directory -Path "$HOME\.wails" -Force
Copy-Item -Path "$PWD\wails.json" -Destination "$HOME\.wails\wails.json"
choco install mingw
wails build -f -p -ldflags "-X wombat/internal/app.semver=${{ env.wombat-version }}"
Compress-Archive -Path "$PWD\build\wombat.exe" -DestinationPath "$PWD\Wombat_${{ env.wombat-version }}_Windows_x86_64.zip"
- name: Upload windows zip
if: matrix.platform == 'windows-2019'
uses: actions/upload-artifact@v2
with:
name: Wombat_${{ env.wombat-version }}_Windows_x86_64.zip
path: Wombat_${{ env.wombat-version }}_Windows_x86_64.zip
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
- Reflection API to determine RPC schema
- Error messages on failed gRPC connections

### Features still working on:

- [ ] Windows build
- [ ] Multiple Workspaces
- [ ] Multiple Request's within a Workspace

## Download

Visit the [Releases](https://github.com/rogchap/wombat/releases) page for the latest downloads.
Expand All @@ -53,14 +47,24 @@ Visit the [Releases](https://github.com/rogchap/wombat/releases) page for the la

### MacOS

Open `Wombat*_Darwin_86_64.dmg`, drag `Wombat.app` to the `Applications` folder and run from `Applications`.

If you get this error message: `"Wombat.app" can't be opened because the identity of the developer cannot be
confirmed.`, Install by **Right Click/Option Click** -> **Open** -> **Open**. You'll only need to do this on first
install.

### Linux

If you are using the `AppImage`, just download and set the file as executable:
Unarchive `Wombat*_Linux_86_64.tar.gz` and run.

If you are using the `AppImage`, download and set the file as executable:

```
$ chmod +x Wombat.AppImage
$ chmod +x Wombat*_Linux_86_64.AppImage
```

Alernatively you can install [appimagelauncher](https://github.com/TheAssassin/AppImageLauncher) via your package manager to install automatically.

### Windows

Unarchive `Wombat*_Windows_86_64.zip` and run.

0 comments on commit d044c29

Please sign in to comment.