Add build steps for mac & windows
This commit is contained in:
parent
3769e53b54
commit
81ec11a779
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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 ./...
|
||||
|
|
Loading…
Reference in New Issue