Skip to content

Commit

Permalink
feat: pack zetasql lib after buil parser:all
Browse files Browse the repository at this point in the history
  • Loading branch information
jingchen2222 committed May 20, 2021
1 parent da24120 commit 8b17e90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,17 @@ jobs:
- name: Test
run: |
bazel test ${{ env.build_argv }} --test_summary=detailed ${{ env.target }}
- name: Determine Version
run: |
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
VERSION=$(echo $VERSION | sed -e 's/^v//')
echo "TAG=$VERSION" >> $GITHUB_ENV
- name: pack libzetasql
run: |
./pack_zetasql.sh
env:
TAG: ${{ env.TAG }}
macos-build:
runs-on: macos-latest
timeout-minutes: 120
Expand Down
5 changes: 1 addition & 4 deletions zetasql/parser/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,7 @@ genyacc(

[gen_parser_test(
filename = f.split("/")[-1],
srcs = select({
"@bazel_tools//src/conditions:darwin": ["run_parser_test.cc"],
"//conditions:default": [],
}),
srcs = ["run_parser_test.cc"],
) for f in glob(["testdata/*.test"])]

bzl_library(
Expand Down

0 comments on commit 8b17e90

Please sign in to comment.