...

Text file src/github.com/Azure/go-ansiterm/.github/workflows/ci.yml

Documentation: github.com/Azure/go-ansiterm/.github/workflows

     1name: CI
     2on:
     3  - push
     4  - pull_request
     5
     6jobs:
     7  build:
     8    runs-on: 'ubuntu-latest'
     9    strategy:
    10      matrix:
    11        include:
    12          - arch: amd64
    13          - arch: arm
    14            goarm: 5
    15          - arch: arm
    16            goarm: 7
    17    steps:
    18      - uses: actions/checkout@v2
    19      - uses: actions/setup-go@v2
    20        with:
    21          go-version: '1.16'
    22      - run: go build ./...
    23        env:
    24          GOOS: windows
    25          GOARCH: ${{ matrix.arch }}
    26          GOARM: ${{ matrix.goarm }}
    27  test:
    28    runs-on: 'windows-2019'
    29    steps:
    30      - uses: actions/checkout@v2
    31      - uses: actions/setup-go@v2
    32        with:
    33          go-version: '1.16'
    34      - run: go test ./...

View as plain text