diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bd19bf9..51f4816 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,10 +11,10 @@ on: jobs: deploy: - runs-on: ubuntu-20.04 # newest available distribution, aka focal + runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 1 # only needed to get the sha label # We can't cache Docker without using buildx because GH actions restricts /var/lib/docker diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a52b07..a98024d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,10 +16,10 @@ on: jobs: test: - runs-on: ubuntu-20.04 # newest available distribution, aka focal + runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 1 # only needed to get the sha label # We can't cache Docker without using buildx because GH actions restricts /var/lib/docker diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a082a4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,32 +0,0 @@ -# See https://docs.travis-ci.com/user/reference/overview/#for-a-particular-travisyml-configuration -arch: # only test archs not already tested with GH actions - - arm64 - - s390x -os: linux # required for arch different from amd64 -dist: focal # newest available distribution -language: bash -services: docker - -git: - depth: false # TRAVIS_COMMIT_RANGE requires full commit history. - -if: branch = master AND tag IS blank AND type IN (push, pull_request) -before_install: | # Prevent test build of a documentation-only change. - if [ -n "${TRAVIS_COMMIT_RANGE}" ] && ! git diff --name-only "${TRAVIS_COMMIT_RANGE}" -- | grep -qv '\.md$'; then - echo "Stopping job as changes only affect documentation (ex. README.md)" - travis_terminate 0 - fi -install: ./build-bin/configure_test -script: - # Test LTS JDK - - ./build-bin/test 21.0.1_p12 - # Test latest JDK - - ./build-bin/test - -notifications: - webhooks: - urls: - - https://webhooks.gitter.im/e/ead3c37d57527214e9f2 - - https://webhooks.gitter.im/e/9f1ee2f315d32956f8d6 - on_success: change - on_failure: always diff --git a/install.sh b/install.sh index e40f61f..57e1bb6 100755 --- a/install.sh +++ b/install.sh @@ -23,7 +23,7 @@ set -uex # Ensure we can create hs_err_pid*.log ulimit -c unlimited -function maybe_log_crash() { +maybe_log_crash() { (cat $(ls hs_err_pid*.log) 2>&- || true) && exit 1; }