|
24 | 24 | pull_request: |
25 | 25 | workflow_dispatch: |
26 | 26 |
|
| 27 | +concurrency: |
| 28 | + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 29 | + cancel-in-progress: ${{ github.event_name == 'pull_request' }} |
| 30 | + |
27 | 31 | env: |
28 | 32 | CARGO_TERM_COLOR: always |
29 | 33 |
|
@@ -70,34 +74,34 @@ jobs: |
70 | 74 | working-directory: ./ |
71 | 75 | run: cargo test --verbose --features memory-prof -- --test-threads=1 |
72 | 76 |
|
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