mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 16:15:56 +00:00
builds lattice and places gz as an artifact
This commit is contained in:
parent
83f4f8c8c6
commit
db445b3136
1 changed files with 30 additions and 1 deletions
31
.github/workflows/release.yml
vendored
31
.github/workflows/release.yml
vendored
|
|
@ -15,6 +15,32 @@ jobs:
|
|||
- run: echo $(sh .github/workflows/version.sh)
|
||||
- run: echo "::set-output version=$(sh .github/workflows/version.sh)"
|
||||
|
||||
build-lattice:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- version
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- run: |
|
||||
cd lattice
|
||||
yarn install
|
||||
yarn build
|
||||
mv build ../
|
||||
cd ../
|
||||
rm -r lattice
|
||||
mv build lattice
|
||||
tar -czvf lattice.tar.gz lattice
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: lattice.tar.gz
|
||||
path: ./lattice.tar.gz
|
||||
|
||||
build-featurebase:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
|
|
@ -36,7 +62,10 @@ jobs:
|
|||
go-version: "^1.19.1"
|
||||
|
||||
- name: build featurebase
|
||||
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }} ./cmd/featurebase
|
||||
run: |
|
||||
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }} ./cmd/featurebase
|
||||
GOOS="darwin" GOARCH="arm64" go build -o roaring-migrate_darwin_arm64 ./cmd/roaring-migrate
|
||||
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue