Skip to content

Commit

Permalink
GI: Build on MS Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
michurin committed Jun 15, 2024
1 parent d740e56 commit fd4732c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- run: "go version"
- run: "go build ./cmd/..."
- run: "./behavioral-tests/run.sh"
build-windows: # TODO switch to windows-latest and run integration tests
x-build-windows:
runs-on: ubuntu-latest
timeout-minutes: 10
name: "Simple build on MS Windows"
name: "Simple build binary for MS Windows"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand All @@ -39,6 +39,18 @@ jobs:
GOOS: windows
GOARCH: amd64
- run: "file pplog.exe"
windows:
runs-on: windows-latest
timeout-minutes: 10
name: "Build on MS Windows"
steps:
- uses: actions/checkout@v4
- run: "go version" # go1.21.11 # https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
- run: "go build ./cmd/..."
- run: "dir"
- run: "./pplog.exe -v"
- shell: bash
run: "./pplog.exe echo '{\"time\":\"2024-06-12T12:00:00Z\",\"level\":\"INFO\",\"msg\":\"Hello\"}'"
test:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down

0 comments on commit fd4732c

Please sign in to comment.