From 42007bab64386e7b99c6c20d76c5ef2f9a7f71b3 Mon Sep 17 00:00:00 2001 From: Alexey Michurin Date: Wed, 12 Jun 2024 12:38:45 +0300 Subject: [PATCH] CI: windows build --- .github/workflows/ci.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1a3c0b9..47e46b2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,21 @@ jobs: - run: "go version" - run: "go build ./cmd/..." - run: "./behavioral-tests/run.sh" + build-windows: # TODO switch to windows-latest and run integration tests + runs-on: ubuntu-latest + timeout-minutes: 10 + name: "Simple build on MS Windows" + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: "1.22" + - run: "go version" + - run: "go build ./cmd/..." + env: + GOOS: windows + GOARCH: amd64 + - run: "file pplog.exe" test: runs-on: ubuntu-latest timeout-minutes: 10