From 81ec11a779b94de241246f2c9d1211125ab69b54 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Wed, 23 Aug 2023 23:30:20 +0200 Subject: [PATCH] Add build steps for mac & windows --- .github/workflows/go.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b091395..dab5c3e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 ./...