Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: erlang/otp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: OTP-26.2.1
Choose a base ref
...
head repository: erlang/otp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: OTP-26.2.2
Choose a head ref

Commits on Dec 15, 2023

  1. kernel: Fix group get_until to allow eof only in result

    Elixir (and our documentation) return {done, eof, []} and not
    {done, eof eof} when an eof is indicated. Group did not handle
    this and crashed.
    garazdawi committed Dec 15, 2023
    Copy the full SHA
    9e8f017 View commit details

Commits on Dec 26, 2023

  1. Copy the full SHA
    114466c View commit details
  2. Copy the full SHA
    bb02aa1 View commit details
  3. Copy the full SHA
    5f17b6c View commit details

Commits on Jan 2, 2024

  1. Copy the full SHA
    835475e View commit details
  2. Copy the full SHA
    4e5e9b2 View commit details
  3. Copy the full SHA
    3e1ba7c View commit details
  4. gh: Use master as update target

    We cannot use latest maint as it will only be updated
    when a patch is released.
    garazdawi committed Jan 2, 2024
    Copy the full SHA
    72d20f0 View commit details
  5. Copy the full SHA
    8937352 View commit details

Commits on Jan 3, 2024

  1. Copy the full SHA
    eace72d View commit details
  2. Copy the full SHA
    287a807 View commit details
  3. Copy the full SHA
    d27de65 View commit details

Commits on Jan 4, 2024

  1. gh: Change always to !cancelled

    This way we can cancel the workflow faster, but it will
    still run when previous jobs/steps fail.
    garazdawi committed Jan 4, 2024
    Copy the full SHA
    278ff1e View commit details
  2. Copy the full SHA
    60383d7 View commit details

Commits on Jan 8, 2024

  1. Copy the full SHA
    6f7674b View commit details

Commits on Jan 9, 2024

  1. ct: Fix test_server:find_release for ubuntu logic

    When we are running Ubuntu 20, we cannot use packages
    comiled for < Ubuntu 20 as tinfo crypto are not compatible.
    garazdawi committed Jan 9, 2024
    Copy the full SHA
    5ec3714 View commit details

Commits on Jan 12, 2024

  1. Copy the full SHA
    a3556e3 View commit details
  2. gh: Remove otp_cache.tar.gz when not using cache

    If we don't do this, then the 'Build Cache' step will
    think we should just reuse the old cache and use that.
    garazdawi committed Jan 12, 2024
    Copy the full SHA
    aeef603 View commit details

Commits on Jan 15, 2024

  1. Copy the full SHA
    a66bde2 View commit details
  2. Copy the full SHA
    1651a0a View commit details

Commits on Jan 16, 2024

  1. gh: Pin openssl version to 3.1.1

    openssl v3.2 seems to have changed directory
    structure so configure fails when using it.
    We pin to 3.1.1 while we figure out what to do.
    garazdawi committed Jan 16, 2024
    Copy the full SHA
    a91474f View commit details

Commits on Jan 29, 2024

  1. Copy the full SHA
    4daba20 View commit details

Commits on Jan 30, 2024

  1. Copy the full SHA
    5c9581e View commit details
  2. Copy the full SHA
    edb1808 View commit details

Commits on Feb 3, 2024

  1. Copy the full SHA
    6b0e1e2 View commit details

Commits on Feb 5, 2024

  1. [erts] Fix dirty signal handling

    Commit (1) fixed so that signals were handled by dirty signal handlers also
    for processes scheduled for dirty execution, but not yet selected for dirty
    execution. This, however, opened up for signal handling that could release the
    main lock of the process prior to dirty execution that inspected the signal
    queue which meant that the dirty scheduler could see an inconsistent signal
    queue with a crash as a result. This commit fixes so that also dirty
    schedulers that may inspect the signal queue will release the main lock and
    wait for signal handling to complete before inspecting the signal queue
    when necessary.
    
    (1) 00089cf
    rickard-green committed Feb 5, 2024
    Copy the full SHA
    fedf657 View commit details
  2. Merge branch 'rickard/signal-sched-fix/25/OTP-18957' into rickard/sig…

    …nal-sched-fix/26/OTP-18957
    
    * rickard/signal-sched-fix/25/OTP-18957:
      [erts] Fix dirty signal handling
    rickard-green committed Feb 5, 2024
    Copy the full SHA
    970f8de View commit details

Commits on Feb 6, 2024

  1. Copy the full SHA
    83f666f View commit details

Commits on Feb 7, 2024

  1. Merge branch 'rickard/tmo-overflow/OTP-18911' into maint-26

    * rickard/tmo-overflow/OTP-18911:
      [erts] Ensure erl_poll can handle huge timeouts
      [erts] Ensure ethr_event can handle huge timeouts
      [erts] Don't expose timeout primitives to huge timeouts
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    b718b16 View commit details
  2. Merge branch 'lukas/gh/maint-26' into maint-26

    * lukas/gh/maint-26:
      Update GitHub Action Versions
      gh: Pin openssl version to 3.1.1
      Fail if base image cannot be built
      Update GitHub Action Versions
      gh: Remove otp_cache.tar.gz when not using cache
      gh: Add possibility to not use cache using @github-actions disable-cache
      gh: Fix cache invalidation when pt is changed
      gh: Change always to !cancelled
      Update GitHub Action Versions
      gh: Use master as update target
      gh: Fix checking out latest maint branch
      Run github actions updater towards latest maint branch
      Update GitHub Action Versions
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    e591cb8 View commit details
  3. Merge branch 'lukas/kernel/fix-get_chars-eof/OTP-18901' into maint-26

    * lukas/kernel/fix-get_chars-eof/OTP-18901:
      kernel: Fix group get_until to allow eof only in result
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    d867bf3 View commit details
  4. Merge branch 'ingela/ssl/legacy-names-cert-request/GH-7978/OTP-18917'…

    … into maint-26
    
    * ingela/ssl/legacy-names-cert-request/GH-7978/OTP-18917:
      ssl: Fix legacy name handling in certificate request too
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    09590d4 View commit details
  5. Merge branch 'paulswartz/openssl-md5/GH-7987/OTP-18931' into maint-26

    * paulswartz/openssl-md5/GH-7987/OTP-18931:
      ci: don't use cache if an `.h` file is deleted
      fix: `ifdef` for preprocessor variables
      fix: rename `openssl/md5.h` to avoid include conflicts with OpenSSL
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    0be14d3 View commit details
  6. Merge branch 'lukas/ct/fix-find_release-ubuntu-logic/OTP-18932' into …

    …maint-26
    
    * lukas/ct/fix-find_release-ubuntu-logic/OTP-18932:
      ct: Fix test_server:find_release for ubuntu logic
    
    # Conflicts:
    #	lib/common_test/src/test_server_node.erl
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    5d522e4 View commit details
  7. Merge branch 'john/erts/disable-jit-x86-sonoma/OTP-18949' into maint-26

    * john/erts/disable-jit-x86-sonoma/OTP-18949:
      erts: Disable the JIT on x86 Macs
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    df57f10 View commit details
  8. Merge branch 'ingela/ssl/maint/fix-doc-verify-def' into maint-26

    * ingela/ssl/maint/fix-doc-verify-def:
      ssl: Correct OTP-26 documentation
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    8196f15 View commit details
  9. Merge branch 'kuba/ssl/ssl_dist_bench_SUITE_fix' into maint-26

    * kuba/ssl/ssl_dist_bench_SUITE_fix:
      ssl: ssl_dist_bench_SUITE uses schedulers_online
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    ed76275 View commit details
  10. Merge branch 'rickard/signal-sched-fix/26/OTP-18957' into maint-26

    * rickard/signal-sched-fix/26/OTP-18957:
      [erts] Fix dirty signal handling
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    5cbdd3d View commit details
  11. Merge branch 'kuba/ssh/kex_alg_order_adjustment/OTP-18964' into maint-26

    * kuba/ssh/kex_alg_order_adjustment/OTP-18964:
      ssh: KEX Curve25519 and Curve448 methods most preferred
    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    8be80e8 View commit details
  12. Update copyright year

    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    b14b1ba View commit details
  13. Prepare release

    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    8444772 View commit details
  14. Updated OTP version

    Erlang/OTP committed Feb 7, 2024
    Copy the full SHA
    b83df13 View commit details
Showing with 617 additions and 143 deletions.
  1. +6 −6 .github/actions/build-base-image/action.yaml
  2. +2 −0 .github/scripts/build-base-image.sh
  3. +10 −1 .github/scripts/restore-from-prebuilt.sh
  4. +4 −3 .github/workflows/actions-updater.yaml
  5. +1 −1 .github/workflows/add-to-project.yaml
  6. +46 −33 .github/workflows/main.yaml
  7. +1 −1 .github/workflows/pr-comment.yaml
  8. +1 −1 OTP_VERSION
  9. +17 −1 erts/configure
  10. +17 −2 erts/configure.ac
  11. +51 −0 erts/doc/src/notes.xml
  12. +19 −19 erts/emulator/beam/erl_proc_sig_queue.c
  13. +2 −2 erts/emulator/beam/erl_proc_sig_queue.h
  14. +16 −1 erts/emulator/beam/erl_process.c
  15. +13 −4 erts/emulator/beam/erl_process.h
  16. +17 −2 erts/emulator/beam/time.c
  17. +1 −1 erts/emulator/openssl/README
  18. +1 −1 erts/emulator/openssl/crypto/md5/md5_local.h
  19. +1 −1 erts/emulator/openssl/include/erl_md5.h
  20. 0 erts/emulator/openssl/include/{openssl → openssl_local}/md5.h
  21. +2 −2 erts/emulator/openssl/openssl.diff
  22. +1 −1 erts/emulator/openssl/openssl.mk
  23. +10 −3 erts/emulator/sys/common/erl_poll.c
  24. +11 −2 erts/emulator/sys/win32/erl_poll.c
  25. +89 −1 erts/emulator/test/signal_SUITE.erl
  26. +50 −5 erts/emulator/test/timer_bif_SUITE.erl
  27. +4 −1 erts/include/internal/erl_errno.h
  28. +2 −2 erts/lib_src/common/erl_misc_utils.c
  29. +36 −7 erts/lib_src/pthread/ethr_event.c
  30. +14 −3 erts/lib_src/win/ethr_event.c
  31. +1 −1 erts/vsn.mk
  32. +16 −0 lib/common_test/doc/src/notes.xml
  33. +9 −3 lib/common_test/src/test_server_node.erl
  34. +1 −1 lib/common_test/vsn.mk
  35. +16 −0 lib/erl_interface/doc/src/notes.xml
  36. +1 −1 lib/erl_interface/src/openssl/README
  37. +1 −1 lib/erl_interface/src/openssl/crypto/md5/md5_local.h
  38. +1 −1 lib/erl_interface/src/openssl/include/erl_md5.h
  39. 0 lib/erl_interface/src/openssl/include/{openssl → openssl_local}/md5.h
  40. +2 −2 lib/erl_interface/src/openssl/openssl.diff
  41. +1 −1 lib/erl_interface/vsn.mk
  42. +17 −0 lib/kernel/doc/src/notes.xml
  43. +4 −0 lib/kernel/src/group.erl
  44. +6 −2 lib/kernel/src/kernel.appup.src
  45. +1 −1 lib/kernel/vsn.mk
  46. +16 −0 lib/ssh/doc/src/notes.xml
  47. +5 −7 lib/ssh/src/ssh_transport.erl
  48. +7 −1 lib/ssh/test/ssh_dbg_SUITE.erl
  49. +1 −1 lib/ssh/vsn.mk
  50. +16 −0 lib/ssl/doc/src/notes.xml
  51. +4 −4 lib/ssl/doc/src/ssl.xml
  52. +3 −2 lib/ssl/src/ssl_handshake.erl
  53. +5 −2 lib/ssl/test/ssl_dist_bench_SUITE.erl
  54. +28 −1 lib/ssl/test/tls_1_3_version_SUITE.erl
  55. +1 −1 lib/ssl/vsn.mk
  56. +8 −3 make/otp_version_tickets
  57. +1 −0 otp_versions.table
12 changes: 6 additions & 6 deletions .github/actions/build-base-image/action.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ runs:
using: composite
steps:
- name: Cleanup GH Runner
shell: bash -euxo pipefail {0}
shell: bash -euo pipefail {0}
run: |
## Delete large files from runner to get more disk space
## See https://github.com/actions/runner-images/issues/2840
@@ -26,14 +26,14 @@ runs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Cache BASE image
uses: actions/cache@v3
uses: actions/cache@v4.0.0
if: inputs.TYPE == '64-bit' || inputs.TYPE == 'clang'
with:
path: otp_docker_base.tar
key: ${{ runner.os }}-${{ hashFiles('.github/dockerfiles/Dockerfile.ubuntu-base', '.github/scripts/build-base-image.sh') }}-${{ hashFiles('OTP_VERSION') }}

- name: Docker login
uses: docker/login-action@v2
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@@ -45,19 +45,19 @@ runs:

- name: Cache pre-built src
if: inputs.BUILD_IMAGE == 'true'
uses: actions/cache@v3
uses: actions/cache@v4.0.0
with:
path: otp_src.tar.gz
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
- name: Cache pre-built binaries
if: inputs.BUILD_IMAGE == 'true'
uses: actions/cache@v3
uses: actions/cache@v4.0.0
with:
path: otp_cache.tar.gz
key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }}
- name: Build image
if: inputs.BUILD_IMAGE == 'true'
shell: bash -euxo pipefail {0}
shell: bash -eo pipefail {0}
run: |
.github/scripts/restore-from-prebuilt.sh `pwd` .github/otp.tar.gz
rm -f otp_{src,cache}.tar.gz
2 changes: 2 additions & 0 deletions .github/scripts/build-base-image.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -eo pipefail

BASE_BRANCH="$1"

case "${BASE_BRANCH}" in
11 changes: 10 additions & 1 deletion .github/scripts/restore-from-prebuilt.sh
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ ARCHIVE="$3"
if [ ! -f "${CACHE_SOURCE_DIR}/otp_src.tar.gz" ] || [ "${NO_CACHE}" = "true" ]; then
cp "${ARCHIVE}" "${TARGET}"
cp "${ARCHIVE}" "${CACHE_SOURCE_DIR}/otp_src.tar.gz"
rm -f "${CACHE_SOURCE_DIR}/otp_cache.tar.gz" || true
exit 0
fi

@@ -49,9 +50,12 @@ tar -C "${CACHE_DIR}/" -xzf "${CACHE_SOURCE_DIR}/otp_src.tar.gz"

## If we have a binary cache
if [ -f "${CACHE_SOURCE_DIR}/otp_cache.tar.gz" ]; then
## If configure scripts have NOT changed, we can restore configure and other C/java programs
## If configure scripts or .in files have NOT changed, we can restore
## makefiles and other C/java programs
if [ -z "${CONFIGURE}" ] || [ "${CONFIGURE}" = "false" ]; then
tar -C "${CACHE_DIR}/" -xzf "${CACHE_SOURCE_DIR}/otp_cache.tar.gz"
else
rm -f "${CACHE_SOURCE_DIR}/otp_cache.tar.gz"
fi
fi

@@ -147,6 +151,11 @@ if [ -n "${ARCHIVE}" ]; then
fi
done

## The cache was deleted, so break and don't use it
if [ ! -d "${CACHE_DIR}" ]; then
break;
fi

echo "::group::{Run ${i}: yecc}"
### if yecc has changed, need to recompile all .yrl files
if grep "yecc.erl$" "${CHANGES}"; then
7 changes: 4 additions & 3 deletions .github/workflows/actions-updater.yaml
Original file line number Diff line number Diff line change
@@ -14,10 +14,10 @@ jobs:
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v1.6.1
uses: actions/create-github-app-token@v1.7.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PEM }}
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PEM }}

- uses: actions/checkout@v4.1.1
with:
@@ -28,3 +28,4 @@ jobs:
with:
token: ${{ steps.generate_token.outputs.token }}
pull_request_branch: "github/actions-update"
extra_workflow_locations: ".github/actions/build-base-image"
2 changes: 1 addition & 1 deletion .github/workflows/add-to-project.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v1.6.1
uses: actions/create-github-app-token@v1.7.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PEM }}
79 changes: 46 additions & 33 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ jobs:
ALL_APPS=$(grep '^[a-z_]*:' .github/scripts/path-filters.yaml | sed 's/:.*$//')
ALL_APPS=$(jq -n --arg inarr "${ALL_APPS}" '$inarr | split("\n")' | tr '\n' ' ')
echo "all=${ALL_APPS}" >> $GITHUB_OUTPUT
- uses: dorny/paths-filter@v2.11.1
- uses: dorny/paths-filter@v3.0.0
id: app-changes
with:
filters: .github/scripts/path-filters.yaml
@@ -70,14 +70,14 @@ jobs:
echo "changes=${CHANGED_APPS}" >> "$GITHUB_OUTPUT"
fi
- name: Cache pre-built src
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: otp_src.tar.gz
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
prebuilt-src-${{ github.base_ref }}-${{ github.event.pull_request.base.sha }}
- name: Cache pre-built binaries
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: otp_cache.tar.gz
key: prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }}
@@ -86,16 +86,17 @@ jobs:
- name: Create initial pre-release tar
run: .github/scripts/init-pre-release.sh otp_archive.tar.gz otp_src.tar.gz
- name: Upload source tar archive
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: otp_git_archive
path: otp_archive.tar.gz
- uses: dorny/paths-filter@v2.11.1
- uses: dorny/paths-filter@v3.0.0
id: cache
with:
filters: |
no-cache:
- '.github/**'
- deleted: '**/*.h'
deleted:
- deleted: '**'
bootstrap:
@@ -104,9 +105,21 @@ jobs:
- '**.ac'
- '**.in'
list-files: shell
- name: "Check '@github-action disable-cache' in PR Comment"
id: issue_comment
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
shell: /usr/bin/bash {0}
run: |
ISSUE_COMMENTS=$(gh api -H "Accept: application/vnd.github+json" /repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments | jq ".[] | .body")
if echo "${ISSUE_COMMENTS}" | grep "@github-actions disable-cache"; then
echo "DISABLE_CACHE=true" >> $GITHUB_OUTPUT
else
echo "DISABLE_CACHE=false" >> $GITHUB_OUTPUT
fi
- name: Restore from cache
env:
NO_CACHE: ${{ steps.cache.outputs.no-cache || steps.cache.outputs.deleted_count > 20 }}
NO_CACHE: ${{ fromJson(steps.cache.outputs.no-cache) || fromJson(steps.issue_comment.outputs.DISABLE_CACHE) || fromJson(steps.cache.outputs.deleted_count) > 20 }}
BOOTSTRAP: ${{ steps.cache.outputs.bootstrap }}
CONFIGURE: ${{ steps.cache.outputs.configure }}
EVENT: ${{ github.event_name }}
@@ -116,7 +129,7 @@ jobs:
"`pwd`/.github/otp.tar.gz" \
"`pwd`/otp_archive.tar.gz"
- name: Upload restored cache
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
if: runner.debug == 1
with:
name: restored-cache
@@ -143,7 +156,7 @@ jobs:
bash -c 'set -x; C_APPS=$(ls -d ./lib/*/c_src); find Makefile ./make ./erts ./bin/`erts/autoconf/config.guess` ./lib/erl_interface ./lib/jinterface ${C_APPS} `echo "${C_APPS}" | sed -e 's:c_src$:priv:'` -type f -newer README.md \! -name "*.beam" \! -path "*/doc/*" | xargs tar --transform "s:^./:otp/:" -uvf /github/otp_cache.tar'
gzip otp_cache.tar
- name: Upload pre-built tar archives
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: otp_prebuilt
path: |
@@ -160,13 +173,13 @@ jobs:
- uses: actions/checkout@v4.1.1

- name: Download source archive
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.1
with:
name: otp_prebuilt

- name: Cache wxWidgets
id: wxwidgets-cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: wxWidgets
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-12
@@ -192,7 +205,7 @@ jobs:
./bin/erl -noshell -eval '{wx_ref,_,_,_} = wx:new(), io:format("wx ok~n"), halt().'
- name: Upload tarball
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: otp_prebuilt_macos_x86-64
path: otp/otp_macos_*_x86-64.tar.gz
@@ -207,7 +220,7 @@ jobs:
steps:
- uses: actions/checkout@v4.1.1
- name: Download source archive
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.1
with:
name: otp_prebuilt

@@ -226,7 +239,7 @@ jobs:
xcodebuild -create-xcframework -output ./liberlang.xcframework -library liberlang.a
- name: Upload framework
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: ios_framework_${{ env.TARGET_ARCH }}
path: otp/liberlang.xcframework
@@ -251,11 +264,11 @@ jobs:
- name: Install openssl
shell: cmd
run: |
choco install openssl
choco install openssl --version=3.1.1
IF EXIST "c:\\Program Files\\OpenSSL-Win64" (move "c:\\Program Files\\OpenSSL-Win64" "c:\\OpenSSL-Win64") ELSE (move "c:\\Program Files\\OpenSSL" "c:\\OpenSSL-Win64")
- name: Cache wxWidgets
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: wxWidgets
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}
@@ -297,7 +310,7 @@ jobs:
nmake TARGET_CPU=amd64 BUILD=release SHARED=0 DIR_SUFFIX_CPU= -f makefile.vc
- name: Download source archive
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.1
with:
name: otp_prebuilt

@@ -325,7 +338,7 @@ jobs:
./otp_build installer_win32
- name: Upload installer
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: otp_win32_installer
path: otp/release/win32/otp*.exe
@@ -397,12 +410,12 @@ jobs:
rm -rf man
tar czf ../otp_doc_html.tar.gz *
- name: Upload html documentation archive
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: otp_doc_html
path: otp_doc_html.tar.gz
- name: Upload man documentation archive
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: otp_doc_man
path: otp_doc_man.tar.gz
@@ -477,30 +490,30 @@ jobs:
mv make_test_dir/${APP}_test "make_test_dir/${{ matrix.type }}_test"
fi
- name: Cleanup tests
if: always()
if: ${{ !cancelled() }}
run: |
rm -rf make_test_dir/otp || true
sudo bash -c "chown -R `whoami` make_test_dir && chmod -R +r make_test_dir"
tar czf ${{ matrix.type }}_test_results.tar.gz make_test_dir
- name: Upload test results
uses: actions/upload-artifact@v3.1.3
if: always()
uses: actions/upload-artifact@v4.3.0
if: ${{ !cancelled() }}
with:
name: ${{ matrix.type }}_test_results
path: ${{ matrix.type }}_test_results.tar.gz

system-test:
name: Test Erlang/OTP (system)
runs-on: ubuntu-latest
if: always() # Run even if the need has failed
if: ${{ !cancelled() }} # Run even if the need has failed
needs: test
steps:
- uses: actions/checkout@v4.1.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
- name: Download test results
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.1
- name: Merge test results
run: |
shopt -s nullglob
@@ -519,7 +532,7 @@ jobs:
-v $PWD/make_test_dir:/buildroot/otp/erts/make_test_dir otp \
"make system_test"
- name: Cleanup tests
if: always()
if: ${{ !cancelled() }}
run: |
rm -rf make_test_dir/otp || true
tar czf test_results.tar.gz make_test_dir
@@ -530,14 +543,14 @@ jobs:
-e 's:\(file="erts/\)make_test_dir/[^/]*:\1test:g' \
make_test_dir/*_junit.xml
- name: Upload test results
uses: actions/upload-artifact@v3.1.3
if: always()
uses: actions/upload-artifact@v4.3.0
if: ${{ !cancelled() }}
with:
name: test_results
path: test_results.tar.gz
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3.1.3
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4.3.0
with:
name: Unit Test Results
path: |
@@ -565,15 +578,15 @@ jobs:

## Publish the pre-built archive and docs
- name: Download source archive
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.1
with:
name: otp_prebuilt
- name: Download html docs
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.1
with:
name: otp_doc_html
- name: Download man docs
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.1
with:
name: otp_doc_man

@@ -611,7 +624,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4.3.0
with:
name: Event File
path: ${{ github.event_path }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-comment.yaml
Original file line number Diff line number Diff line change
@@ -95,7 +95,7 @@ jobs:
path: erlang.github.io

- name: Publish CT Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.11.0
uses: EnricoMi/publish-unit-test-result-action@v2.12.0
if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true'
with:
commit: ${{ github.event.workflow_run.head_sha }}
2 changes: 1 addition & 1 deletion OTP_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.2.1
26.2.2
Loading