1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-28 19:20:23 +08:00
2020-08-03 20:09:52 +08:00

31 lines
699 B
YAML

name: CI
on: [push, pull_request]
jobs:
build:
name: Build binary CI
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/386, darwin/amd64
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm]
exclude:
- goos: darwin
goarch: arm
steps:
- uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v2.1.1
with:
go-version: 1.14
- name: Build binary file
run: |
echo ::warning:: Build on ${{ matrix.goos }} - ${{ matrix.goarch }} is not implentmented