mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-08-28 21:06:52 -04:00
pkg/guid is not windows specific, as it can run on Linux. Build constraints on guid_windows and guid_nonwindows are redundant with file names, but added for consistency. Added missing build constraints. Added Ubuntu to test matrix, along with windows 2022. Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
27 lines
591 B
YAML
27 lines
591 B
YAML
name: CI
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-2019, windows-2022, ubuntu-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
- run: go test -gcflags=all=-d=checkptr -v ./...
|
|
|
|
build:
|
|
runs-on: 'windows-2019'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.15.0'
|
|
|
|
- run: go build ./pkg/etw/sample/
|
|
- run: go build ./tools/etw-provider-gen/
|
|
- run: go build ./wim/validate/ |