Add build steps for mac & windows

This commit is contained in:
Bernd Schoolmann 2023-08-23 23:30:20 +02:00 committed by GitHub
parent 3769e53b54
commit 81ec11a779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -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 ./...