-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[native] Test standard runner prestocpp build
- Loading branch information
Showing
7 changed files
with
506 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: prestocpp-format-check | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- 'presto-native-execution/**' | ||
|
||
jobs: | ||
prestocpp-format-check: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: public.ecr.aws/oss-presto/velox-dev:check | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Fix git permissions | ||
# Usually actions/checkout does this but as we run in a container | ||
# it doesn't work | ||
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
- name: Check formatting | ||
run: | | ||
git fetch origin master | ||
cd presto-native-execution | ||
make format-check |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: prestocpp-header-check | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- 'presto-native-execution/**' | ||
|
||
jobs: | ||
prestocpp-header-check: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: public.ecr.aws/oss-presto/velox-dev:check | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Fix git permissions | ||
# Usually actions/checkout does this but as we run in a container | ||
# it doesn't work | ||
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
- name: Check license headers | ||
run: | | ||
git fetch origin master | ||
cd presto-native-execution | ||
make header-check |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: prestocpp-linux-adapters-build | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- 'presto-native-execution/scripts/**' | ||
|
||
jobs: | ||
prestocpp-linux-build-adapters: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: prestodb/presto-native-dependency:0.290-20241014120930-e1fc090 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Fix git permissions | ||
# Usually actions/checkout does this but as we run in a container | ||
# it doesn't work | ||
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
- name: Update submodules | ||
run: | | ||
cd presto-native-execution | ||
make submodules | ||
- name: Build all adapter dependencies | ||
run: | | ||
mkdir -p ${GITHUB_WORKSPACE}/adapter-deps/install | ||
source /opt/rh/gcc-toolset-12/enable | ||
set -xu | ||
cd presto-native-execution | ||
DEPENDENCY_DIR=${GITHUB_WORKSPACE}/adapter-deps PROMPT_ALWAYS_RESPOND=n ./velox/scripts/setup-adapters.sh | ||
DEPENDENCY_DIR=${GITHUB_WORKSPACE}/adapter-deps PROMPT_ALWAYS_RESPOND=n ./scripts/setup-adapters.sh |
Oops, something went wrong.