Skip to content

ci

ci #1866

Workflow file for this run

name: ci
on:
schedule:
- cron: '0 10 * * *'
push:
branches:
- 'master'
- 'releases/v*'
tags:
- 'v*'
pull_request:
paths-ignore:
- '.github/xgo-releases.json'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go_version:
- 1.18
- 1.19
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Xgo
uses: ./
with:
go_version: ${{ matrix.go_version }}
targets: windows/amd64,linux/amd64,linux/arm64,linux/arm/v7,darwin/amd64,darwin/arm64
v: true
x: false
ldflags: -s -w
trimpath: true
working_dir: ./test
-
name: Check
run: |
sudo apt-get -qq install tree
tree -f -h ./test/build