2020-05-24 20:00:05 +03:00
|
|
|
version: 2
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
- image: tinygo/tinygo-dev
|
2020-05-31 17:45:26 +03:00
|
|
|
working_directory: /usr/local/go/src/github.com/tinygo-org/bluetooth
|
2020-05-24 20:00:05 +03:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: tinygo version
|
|
|
|
- run:
|
2020-05-30 21:55:20 +03:00
|
|
|
name: "Run TinyGo smoke tests"
|
|
|
|
command: make smoketest-tinygo
|
|
|
|
- run:
|
|
|
|
name: "Run Linux smoke tests"
|
|
|
|
command: make smoketest-linux
|
|
|
|
- run:
|
|
|
|
name: "Install Windows cross compiler"
|
|
|
|
command: |
|
|
|
|
# Install the tools themselves.
|
|
|
|
apt-get install -y gcc-mingw-w64-x86-64
|
|
|
|
- run:
|
|
|
|
name: "Run Windows smoke tests"
|
|
|
|
command: make smoketest-windows
|