- Update to Node 20 versions of actions to avoid warnings
- Update to current vcpkg
- Update mbedTLS and LibreSSL to latest releases
Change-Id: I1ad6a0b1323ce0872f4a3299c5a9f18a982e0126
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Message-Id: <20240319154456.2967716-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28422.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 36ff5cdb45183c13b0cb084b288b237ad55345cd)
| ... | ... |
@@ -13,7 +13,7 @@ jobs: |
| 13 | 13 |
- name: Install dependencies |
| 14 | 14 |
run: sudo apt update && sudo apt install -y uncrustify |
| 15 | 15 |
- name: Checkout OpenVPN |
| 16 |
- uses: actions/checkout@v3 |
|
| 16 |
+ uses: actions/checkout@v4 |
|
| 17 | 17 |
with: |
| 18 | 18 |
path: openvpn |
| 19 | 19 |
- name: Show uncrustify version |
| ... | ... |
@@ -27,7 +27,7 @@ jobs: |
| 27 | 27 |
- name: Show changes on standard output |
| 28 | 28 |
run: git diff |
| 29 | 29 |
working-directory: openvpn |
| 30 |
- - uses: actions/upload-artifact@v3 |
|
| 30 |
+ - uses: actions/upload-artifact@v4 |
|
| 31 | 31 |
with: |
| 32 | 32 |
name: uncrustify-changes.patch |
| 33 | 33 |
path: 'openvpn/uncrustify-changes.patch' |
| ... | ... |
@@ -49,12 +49,12 @@ jobs: |
| 49 | 49 |
- name: Install dependencies |
| 50 | 50 |
run: sudo apt update && sudo apt install -y mingw-w64 unzip cmake ninja-build build-essential wget python3-docutils man2html-base |
| 51 | 51 |
- name: Checkout OpenVPN |
| 52 |
- uses: actions/checkout@v3 |
|
| 52 |
+ uses: actions/checkout@v4 |
|
| 53 | 53 |
|
| 54 | 54 |
- name: Restore from cache and install vcpkg |
| 55 | 55 |
uses: lukka/run-vcpkg@v11 |
| 56 | 56 |
with: |
| 57 |
- vcpkgGitCommitId: '1ba9a2591f15af5900f2ce2b3e2bf31771e3ac48' |
|
| 57 |
+ vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e |
|
| 58 | 58 |
vcpkgJsonGlob: '**/mingw/vcpkg.json' |
| 59 | 59 |
|
| 60 | 60 |
- name: Run CMake with vcpkg.json manifest |
| ... | ... |
@@ -64,7 +64,7 @@ jobs: |
| 64 | 64 |
buildPreset: mingw-${{ matrix.arch }}
|
| 65 | 65 |
buildPresetAdditionalArgs: "['--config Debug']" |
| 66 | 66 |
|
| 67 |
- - uses: actions/upload-artifact@v3 |
|
| 67 |
+ - uses: actions/upload-artifact@v4 |
|
| 68 | 68 |
with: |
| 69 | 69 |
name: openvpn-mingw-${{ matrix.arch }}
|
| 70 | 70 |
path: | |
| ... | ... |
@@ -72,7 +72,7 @@ jobs: |
| 72 | 72 |
${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll
|
| 73 | 73 |
!${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe
|
| 74 | 74 |
|
| 75 |
- - uses: actions/upload-artifact@v3 |
|
| 75 |
+ - uses: actions/upload-artifact@v4 |
|
| 76 | 76 |
with: |
| 77 | 77 |
name: openvpn-mingw-${{ matrix.arch }}-tests
|
| 78 | 78 |
path: | |
| ... | ... |
@@ -91,7 +91,7 @@ jobs: |
| 91 | 91 |
name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL"
|
| 92 | 92 |
steps: |
| 93 | 93 |
- name: Retrieve mingw unittest |
| 94 |
- uses: actions/download-artifact@v3 |
|
| 94 |
+ uses: actions/download-artifact@v4 |
|
| 95 | 95 |
with: |
| 96 | 96 |
name: openvpn-mingw-${{ matrix.arch }}-tests
|
| 97 | 97 |
path: unittests |
| ... | ... |
@@ -151,7 +151,7 @@ jobs: |
| 151 | 151 |
- name: Install dependencies |
| 152 | 152 |
run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG}
|
| 153 | 153 |
- name: Checkout OpenVPN |
| 154 |
- uses: actions/checkout@v3 |
|
| 154 |
+ uses: actions/checkout@v4 |
|
| 155 | 155 |
- name: autoconf |
| 156 | 156 |
run: autoreconf -fvi |
| 157 | 157 |
- name: configure |
| ... | ... |
@@ -178,7 +178,7 @@ jobs: |
| 178 | 178 |
- name: Install dependencies |
| 179 | 179 |
run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev |
| 180 | 180 |
- name: Checkout OpenVPN |
| 181 |
- uses: actions/checkout@v3 |
|
| 181 |
+ uses: actions/checkout@v4 |
|
| 182 | 182 |
- name: autoconf |
| 183 | 183 |
run: autoreconf -fvi |
| 184 | 184 |
- name: configure |
| ... | ... |
@@ -227,7 +227,7 @@ jobs: |
| 227 | 227 |
- name: Install dependencies |
| 228 | 228 |
run: brew install openssl@1.1 openssl@3 lzo lz4 man2html cmocka libtool automake autoconf libressl |
| 229 | 229 |
- name: Checkout OpenVPN |
| 230 |
- uses: actions/checkout@v3 |
|
| 230 |
+ uses: actions/checkout@v4 |
|
| 231 | 231 |
- name: autoconf |
| 232 | 232 |
run: autoreconf -fvi |
| 233 | 233 |
- name: configure |
| ... | ... |
@@ -249,7 +249,7 @@ jobs: |
| 249 | 249 |
|
| 250 | 250 |
runs-on: windows-latest |
| 251 | 251 |
steps: |
| 252 |
- - uses: actions/checkout@v3 |
|
| 252 |
+ - uses: actions/checkout@v4 |
|
| 253 | 253 |
- uses: lukka/get-cmake@latest |
| 254 | 254 |
|
| 255 | 255 |
- name: Install rst2html |
| ... | ... |
@@ -258,7 +258,7 @@ jobs: |
| 258 | 258 |
- name: Restore artifacts, or setup vcpkg (do not install any package) |
| 259 | 259 |
uses: lukka/run-vcpkg@v11 |
| 260 | 260 |
with: |
| 261 |
- vcpkgGitCommitId: '1ba9a2591f15af5900f2ce2b3e2bf31771e3ac48' |
|
| 261 |
+ vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e |
|
| 262 | 262 |
vcpkgJsonGlob: '**/windows/vcpkg.json' |
| 263 | 263 |
|
| 264 | 264 |
- name: Run CMake with vcpkg.json manifest (NO TESTS) |
| ... | ... |
@@ -276,7 +276,7 @@ jobs: |
| 276 | 276 |
buildPreset: win-${{ matrix.arch }}-release
|
| 277 | 277 |
testPreset: win-${{ matrix.arch }}-release
|
| 278 | 278 |
|
| 279 |
- - uses: actions/upload-artifact@v3 |
|
| 279 |
+ - uses: actions/upload-artifact@v4 |
|
| 280 | 280 |
with: |
| 281 | 281 |
name: openvpn-msvc-${{ matrix.arch }}
|
| 282 | 282 |
path: | |
| ... | ... |
@@ -316,11 +316,11 @@ jobs: |
| 316 | 316 |
- name: Install dependencies |
| 317 | 317 |
run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev |
| 318 | 318 |
- name: "libressl: checkout" |
| 319 |
- uses: actions/checkout@v3 |
|
| 319 |
+ uses: actions/checkout@v4 |
|
| 320 | 320 |
with: |
| 321 | 321 |
path: libressl |
| 322 | 322 |
repository: libressl/portable |
| 323 |
- ref: v3.8.2 |
|
| 323 |
+ ref: v3.8.3 |
|
| 324 | 324 |
- name: "libressl: autogen.sh" |
| 325 | 325 |
run: ./autogen.sh |
| 326 | 326 |
working-directory: libressl |
| ... | ... |
@@ -336,7 +336,7 @@ jobs: |
| 336 | 336 |
- name: "ldconfig" |
| 337 | 337 |
run: sudo ldconfig |
| 338 | 338 |
- name: Checkout OpenVPN |
| 339 |
- uses: actions/checkout@v3 |
|
| 339 |
+ uses: actions/checkout@v4 |
|
| 340 | 340 |
- name: autoconf |
| 341 | 341 |
run: autoreconf -fvi |
| 342 | 342 |
- name: configure |
| ... | ... |
@@ -10,7 +10,7 @@ jobs: |
| 10 | 10 |
steps: |
| 11 | 11 |
- name: Check submission cache |
| 12 | 12 |
id: check_submit |
| 13 |
- uses: actions/cache/restore@v3 |
|
| 13 |
+ uses: actions/cache/restore@v4 |
|
| 14 | 14 |
with: |
| 15 | 15 |
path: | |
| 16 | 16 |
cov-int |
| ... | ... |
@@ -22,7 +22,7 @@ jobs: |
| 22 | 22 |
|
| 23 | 23 |
- name: Checkout OpenVPN |
| 24 | 24 |
if: steps.check_submit.outputs.cache-hit != 'true' |
| 25 |
- uses: actions/checkout@v3 |
|
| 25 |
+ uses: actions/checkout@v4 |
|
| 26 | 26 |
|
| 27 | 27 |
- name: Download Coverity Build Tool |
| 28 | 28 |
if: steps.check_submit.outputs.cache-hit != 'true' |
| ... | ... |
@@ -62,7 +62,7 @@ jobs: |
| 62 | 62 |
|
| 63 | 63 |
- name: Cache submission |
| 64 | 64 |
if: steps.check_submit.outputs.cache-hit != 'true' |
| 65 |
- uses: actions/cache/save@v3 |
|
| 65 |
+ uses: actions/cache/save@v4 |
|
| 66 | 66 |
with: |
| 67 | 67 |
path: | |
| 68 | 68 |
cov-int |