-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f177b59
commit 1c07a7e
Showing
16 changed files
with
722 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Systray | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- 'src/net/cmd/systray/*' | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- 'src/net/cmd/systray/*' | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- os: ubuntu-16.04 | ||
binary: permuter-systray-linux | ||
- os: windows-latest | ||
binary: permuter-systray.exe | ||
- os: macos-latest | ||
binary: permuter-systray-macos | ||
steps: | ||
- uses: actions/checkout@main | ||
|
||
- name: Install gtk3 | ||
if: ${{ matrix.os == 'ubuntu-16.04' }} | ||
run: sudo apt-get install libgtk-3-dev libappindicator3-dev | ||
|
||
- name: Setup Go environment | ||
uses: actions/[email protected] | ||
|
||
- name: Build | ||
run: go build -o ${{ matrix.binary }} -ldflags "-s -w" tray.go | ||
working-directory: src/net/cmd/systray/ | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ matrix.binary }} | ||
path: src/net/cmd/systray/${{ matrix.binary }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.