Skip to content

Commit 7cd94ab

Browse files
committed
fix
1 parent 4ce4f39 commit 7cd94ab

File tree

1 file changed

+35
-31
lines changed

1 file changed

+35
-31
lines changed

.github/workflows/build.yaml

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
pull_request:
2525
workflow_dispatch:
2626

27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
29+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
30+
2731
env:
2832
CARGO_TERM_COLOR: always
2933

@@ -70,34 +74,34 @@ jobs:
7074
working-directory: ./
7175
run: cargo test --verbose --features memory-prof -- --test-threads=1
7276

73-
with-hdrs:
74-
runs-on: ubuntu-latest
75-
steps:
76-
- name: Install Protoc
77-
uses: arduino/setup-protoc@v2
78-
with:
79-
version: "23.2"
80-
- uses: actions/checkout@v4
81-
- name: Setup java env
82-
uses: actions/setup-java@v4
83-
with:
84-
distribution: temurin
85-
java-version: "11"
86-
87-
- name: Setup hadoop env
88-
shell: bash
89-
run: |
90-
curl -LsSf https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz | tar zxf - -C /home/runner
91-
echo "HADOOP_HOME=/home/runner/hadoop-3.3.5" >> $GITHUB_ENV
92-
93-
- name: Build and test
94-
shell: bash
95-
run: |
96-
export CLASSPATH=$(${HADOOP_HOME}/bin/hadoop classpath --glob)
97-
cargo build --features hdrs --release
98-
cargo test --features hdrs -- --test-threads=1
99-
env:
100-
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.HADOOP_HOME}}/lib/native
101-
HDRS_TEST: on
102-
HDRS_NAMENODE: default
103-
HDRS_WORKDIR: /tmp/hdrs/
77+
# with-hdrs:
78+
# runs-on: ubuntu-latest
79+
# steps:
80+
# - name: Install Protoc
81+
# uses: arduino/setup-protoc@v2
82+
# with:
83+
# version: "23.2"
84+
# - uses: actions/checkout@v4
85+
# - name: Setup java env
86+
# uses: actions/setup-java@v4
87+
# with:
88+
# distribution: temurin
89+
# java-version: "11"
90+
#
91+
# - name: Setup hadoop env
92+
# shell: bash
93+
# run: |
94+
# curl -LsSf https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz | tar zxf - -C /home/runner
95+
# echo "HADOOP_HOME=/home/runner/hadoop-3.3.5" >> $GITHUB_ENV
96+
#
97+
# - name: Build and test
98+
# shell: bash
99+
# run: |
100+
# export CLASSPATH=$(${HADOOP_HOME}/bin/hadoop classpath --glob)
101+
# cargo build --features hdrs --release
102+
# cargo test --features hdrs -- --test-threads=1
103+
# env:
104+
# LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.HADOOP_HOME}}/lib/native
105+
# HDRS_TEST: on
106+
# HDRS_NAMENODE: default
107+
# HDRS_WORKDIR: /tmp/hdrs/

0 commit comments

Comments
 (0)