mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 20:09:39 -08:00
5de2c1ae68
resolves #956
42 lines
896 B
YAML
42 lines
896 B
YAML
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'README.md'
|
|
- 'CONTRIBUTING.md'
|
|
- 'COPYING'
|
|
- 'docs/**'
|
|
- '.github/*.md'
|
|
- '.github/FUNDING.yml'
|
|
|
|
name: Build Code
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
goarch: [amd64]
|
|
include:
|
|
- os: ubuntu-latest
|
|
goarch: arm64
|
|
- os: ubuntu-latest
|
|
goarch: arm
|
|
- os: windows-latest
|
|
goarch: 386
|
|
- os: windows-latest
|
|
goarch: arm64
|
|
runs-on: ${{ matrix.os }}
|
|
defaults:
|
|
run:
|
|
working-directory: ${{ github.workspace }}/src
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Build
|
|
run: go build
|
|
env:
|
|
GOARCH: ${{ matrix.goarch }}
|