ci: update build process

This commit is contained in:
Derrick Hammer 2023-06-23 01:49:20 -04:00
parent 41b20b1465
commit 0f8c4f4780
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 30 additions and 0 deletions

View File

@ -6,6 +6,36 @@ orbs:
workflows: workflows:
release: release:
jobs: jobs:
- node/run:
name: build
npm-run: build
pre-steps:
- run:
command: >
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
gvm install go1.4
gvm use go1.4 --default
gvm install go1.4
gvm use go1.8 --default
VERSION=0.28.1
TINYGO="tinygo_${VERSION}_amd64.deb"
wget https://github.com/tinygo-org/tinygo/releases/download/$VERSION/$TINYGO
sudo dpkg -i $TINYGO && rm $TINYGO
cd src/golang
go get
post-steps:
- persist_to_workspace:
root: .
paths:
- lib/
filters:
branches:
only:
- master
- develop
- /^develop-.*$/
- node/run: - node/run:
name: build name: build
npm-run: build npm-run: build