mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 16:45:55 +00:00
67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
name: Release
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
version:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: echo "::set-output version=$(sh .github/workflows/version.sh)"
|
|
|
|
build-featurebase:
|
|
runs-on: ubuntu-latest
|
|
needs:
|
|
- version
|
|
strategy:
|
|
matrix:
|
|
goos:
|
|
- "darwin"
|
|
- "linux"
|
|
goarch:
|
|
- "amd64"
|
|
- "arm64"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
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
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: featurebase-${{ matrix.goos }}-${{ matrix.goarch }}
|
|
path: ./build/featurebase-${{ matrix.goos }}-${{ matrix.goarch }}
|
|
|
|
# build-ingest:
|
|
# runs-on: ubuntu-latest
|
|
# strategy:
|
|
# matrix:
|
|
# goos:
|
|
# - "darwin"
|
|
# - "linux"
|
|
# goarch:
|
|
# - "amd64"
|
|
# - "arm64"
|
|
|
|
# steps:
|
|
# - uses: actions/checkout@v3
|
|
|
|
# - uses: actions/setup-go@v3
|
|
# with:
|
|
# go-version: "^1.19.1"
|
|
|
|
# - name: navigate to ingest
|
|
# run: cd idk
|
|
|
|
# - name: build ingest
|
|
# run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/ingest-${{ matrix.goos }}-${{ matrix.goarch }} /cmd/ingester
|
|
|
|
# - uses: actions/upload-artifact@v3
|
|
# with:
|
|
# name: ingest-${{ matrix.goos }}-${{ matrix.goarch }}
|
|
# path: ./build/ingest-${{ matrix.goos }}-${{ matrix.goarch }}
|