This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 59d1f50ece Split MacOS smoke test to separate action so sudo can be used 59d1f50ece is described below commit 59d1f50ece3113a57218f6df2799a5e784946a9d Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Aug 28 17:12:37 2025 +0100 Split MacOS smoke test to separate action so sudo can be used --- .github/workflows/ci-macos.yml | 54 ++++++++++++++++++++++++++++++++++++++++++ .github/workflows/ci.yml | 3 ++- 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml new file mode 100644 index 0000000000..3dc771a817 --- /dev/null +++ b/.github/workflows/ci-macos.yml @@ -0,0 +1,54 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Smoke Test - MacOS + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + LC_ALL: en_US.UTF-8 + +jobs: + JDKxx_Matrix: + strategy: + fail-fast: false + name: JDK24 macos-latest + runs-on: macos-latest + steps: + - name: Git Checkout + uses: actions/checkout@v5 + - name: Set up Java + uses: actions/setup-java@v5 + with: + java-version: 24 + distribution: zulu + - name: Build + run: | + # Attempt to work-around https://github.com/actions/runner-images/issues/10924 + # Some unit tests use clustering with multicase - use sudo as root is not subject to the local network access checks + sudo ant -noinput -Dtest.openssl.exists=false -Dtest.excludePerformance=true -Dtest.exclude=jakarta/servlet/http/TestHttpServletResponseSendError.java,org/apache/catalina/authenticator/TestFormAuthenticatorA.java,org/apache/catalina/authenticator/TestFormAuthenticatorB.java,org/apache/catalina/authenticator/TestFormAuthenticatorC.java,org/apache/catalina/authenticator/TestSSOnonLoginAndBasicAuthenticator.java,org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator [...] + + - name: Upload logs + if: ${{ !cancelled() }} + uses: actions/upload-artifact@v4 + with: + name: JDK24-macos-latest-logs + path: | + hs_err_*.log + output/build/logs/TEST*.txt + retention-days: 7 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdce290a8f..7d792603a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,8 @@ jobs: java: 24 - os: windows-latest java: 24 + - os: macos-latest + java: 24 - os: macos-latest java: 25-ea name: JDK${{ matrix.java }} ${{ matrix.os }} @@ -77,4 +79,3 @@ jobs: hs_err_*.log output/build/logs/TEST*.txt retention-days: 7 - --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org