Merge pull request #10 from agoncear-mwb/main #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: chDB-go | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**/.md' | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch library | |
run: | | |
make install | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Build | |
run: | | |
go mod tidy | |
make build | |
- name: Test | |
run: make test | |
- name: Test main | |
run: ./chdb-go "SELECT 12345" | |
build_mac: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch library | |
run: | | |
make install | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Build | |
run: | | |
go mod tidy | |
make build | |
- name: Test | |
run: make test | |
- name: Test main | |
run: ./chdb-go "SELECT 12345" | |