This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.8 by this push:
new c1d5ca821 ORC-1174: Add `Ubuntu 22.04` to GitHub Action (#1121)
c1d5ca821 is described below
commit c1d5ca82173004e21386279abcb88a24b9213e91
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed May 18 20:20:23 2022 -0700
ORC-1174: Add `Ubuntu 22.04` to GitHub Action (#1121)
### What changes were proposed in this pull request?
This PR aims to add `Ubuntu 22.04` to GitHub Action.
### Why are the changes needed?
This will help the verification on the latest release.
Although [GitHub Action Virtual
Environments](https://github.com/actions/virtual-environments) don't support
`Ubuntu 22.04` officially yet, `Ubuntu 22.04` is available as `Public Beta`.
- https://github.com/actions/virtual-environments/issues/5490
### How was this patch tested?
Pass the GitHub Action on this PR.
(cherry picked from commit 098b2fe2e8fb0aa0f7cbb7b5847f7158d3bb3d9c)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_and_test.yml | 5 +++++
java/pom.xml | 1 +
2 files changed, 6 insertions(+)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 3c0229689..3ca1e6514 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -17,6 +17,7 @@ jobs:
matrix:
os:
- ubuntu-20.04
+ - ubuntu-22.04
- macos-11
- macos-12
java:
@@ -60,6 +61,10 @@ jobs:
cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix
[email protected]` ..
fi
make package test-out
+ - name: Step on failure
+ if: ${{ failure() }}
+ run: |
+ cat /home/runner/work/orc/orc/build/java/rat.txt
windows:
name: "Build on Windows"
diff --git a/java/pom.xml b/java/pom.xml
index 8e207d34f..e3211b4a0 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -265,6 +265,7 @@
<exclude>**/*.out</exclude>
<exclude>**/*.schema</exclude>
<exclude>**/*.md</exclude>
+ <exclude>**/m2.conf</exclude>
<exclude>**/target/**</exclude>
<exclude>.idea/**</exclude>
<exclude>**/*.iml</exclude>