Skip to content

Commit

Permalink
Add build steps for mac & windows
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten authored Aug 23, 2023
1 parent 3769e53 commit 81ec11a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Install libfido2-dev
run: sudo apt-get install -y libfido2-dev

- name: Install gio dependencies
run: sudo apt-get install -y gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev

- name: Build
- name: Build
run: go build -v ./...

- name: Build with Autofill
run: go build -tags autofill -v ./...

- name: Test
run: go test -v ./...
macos:
Expand All @@ -43,6 +35,10 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -tags "nofido2 noautofill" -v ./...
- name: Test
run: go test -v ./...
windows:
runs-on: windows-latest
steps:
Expand All @@ -52,3 +48,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -tags "nofido2 noautofill" -v ./...
- name: Test
run: go test -v ./...

0 comments on commit 81ec11a

Please sign in to comment.