diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfb200761..758822759 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/zetasql/parser/BUILD b/zetasql/parser/BUILD index 8aa0c9774..4fec9a3b4 100644 --- a/zetasql/parser/BUILD +++ b/zetasql/parser/BUILD @@ -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(