From: "flichtenheld (Code Review)" Attention is currently required from: plaisthos. flichtenheld uploaded patch set #2 to this change.
GHA: General update December 2024
Contains the following re= novate updates:
- Update dependency libressl/portable to v4
- R= equires setting LIBRESSL_GIT_OPTIONS
since the default is --depth=3D= 8 which is
unusable for checking out tags.
- Update dependency Mb= ed-TLS/mbedtls to v3.6.2
- Update mingw ubuntu runner to v24
- Do N= OT update the uncrustify runner since newer uncrustify
is not usable= with the current config
- Update vcpkg digest to 80d54ff
- Update gi= thub actions
Additionally change the action reference pinning
to = consistently refer to the tags instead of the branches.
Change-Id: I= 91f68317450c3c0d69be2c489276739211ccb422
Signed-off-by: Frank Lichtenhel= d <frank@...2641...>
---
M .github/workflows/build.yaml
M .g= ithub/workflows/coverity-scan.yml
2 files changed, 27 insertions(+), 25 = deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs= /changes/89/789/2
diff --git a/.github/workflows/build.yaml b/.gith= ub/workflows/build.yaml
index 767de0b..90d5202 100644
--- a/.github/workflows/build.yaml
+++ b/.github= /workflows/build.yaml
@@ -13,7 +13,7 @@
= - name: Install dependencies
run: sudo apt upd= ate && sudo apt install -y uncrustify
- name= : Checkout OpenVPN
- = uses: actions/checkout@...2813... # v4
+ uses: actions/checkout@...2844... # v4.2.2<= /span>
with:
path: openvpn
- name: Show uncrustify version
@@ -27,= 7 +27,7 @@
- name: Show changes on standard output= span>
run: git diff
working-dire= ctory: openvpn
- -= uses: actions/upload-artifact@...2814... # v4
+ - uses: actions/upload-artifact@...2845...= # v4.5.0
with:
name: u= ncrustify-changes.patch
path: 'openvpn/uncru= stify-changes.patch'
@@ -42,19 +42,19 @@arch: [x86, x64]
name: &q= uot;gcc-mingw - ${{ matrix.arch }} - OSSL"
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg=
steps:
- name: Install depende= ncies
run: sudo apt update && sudo apt ins= tall -y mingw-w64 unzip cmake ninja-build build-essential wget python3-docu= tils man2html-base
- name: Checkout OpenVPN- uses: actions/checkout= @...2813... # v4
+ = uses: actions/checkout@...2844... # v4.2.2
- name: Restore from cache and install vcpkg
= uses: lukka/run-vcpkg@...2815... # v11.5
= with:
- vcpkgG= itCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e
+ vcpkgGitCommitId: 80d54ff62d528= 339c626a6fbc3489a7f25956ade
vcpkgJsonGlob: '= **/mingw/vcpkg.json'
- name: R= un CMake with vcpkg.json manifest
@@ -64,7 +64,7 @@<= br> buildPreset: mingw-${{ matrix.arch }}
= buildPresetAdditionalArgs: "['--config Debug']"=
- = - uses: actions/upload-artifact@...2814... # v4
+ - uses: actions/upload-artifact@...2848...= 5... # v4.5.0
with:
nam= e: openvpn-mingw-${{ matrix.arch }}
path: |
@@ -72,7 +72,7 @@
${{ github.works= pace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll
= !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/= test_*.exe
- - uses: actions/upload-artifact@...2814... # v4+ - uses: actions/upload-artif= act@...2845... # v4.5.0
with:
= name: openvpn-mingw-${{ matrix.arch }}-tests
= path: |
@@ -91,9 +91,9 @@
name: &q= uot;mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL"
steps:
- name: Checkout OpenVPN
- uses: actions/ch= eckout@...2813... # v4
+ uses: actions/checkout@...2844... # v4.2.2
= - name: Retrieve mingw unittest
- uses: actions/download-artifact@...2817... # v4<= br>+ uses: actions/downl= oad-artifact@...2817... # v4.1.8
with:
<= span> name: openvpn-mingw-${{ matrix.arch }}-testspath: unittests
@@ -165,7 +165,7 @@
= - name: Install dependencies
run: sud= o 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 p= ython3-docutils libtool automake autoconf ${SSLPKG} ${PKCS11PKG}
= - name: Checkout OpenVPN
- uses: actions/checkout@...2813... # v4+ uses: actions/checkout@...220...= ..2844... # v4.2.2
- name: autoconf
= run: autoreconf -fvi
- name: configure
@@ -195,7 +195,7 @@
- name: Install depe= ndencies
run: sudo apt update && sudo apt = install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev libnl-genl-3-d= ev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool aut= omake autoconf libmbedtls-dev
- name: Checkout OpenV= PN
- uses: actio= ns/checkout@...2813... # v4
+ uses: actions/checkout@...2844... # v4.2.2
= - name: autoconf
run: autoreconf -fvi
- name: configure
@@ -235,7 +235,7 @@
- name: Install dependencies
r= un: brew install ${{matrix.ssllib}} lzo lz4 man2html cmocka libtool automak= e autoconf
- name: Checkout OpenVPN
- uses: actions/checkout@...2823...= ... # v4
+ use= s: actions/checkout@...2844... # v4.2.2
- name: Set = environment
run: |
cat = >>$GITHUB_ENV <<EOF;
@@ -267,8 +267,8 @@=
runs-on: windows-latest
= steps:
- - = uses: actions/checkout@...2813... # v4
- - uses: lukka/get-cmake@...2818... # v3.30.3<= br>+ - uses: actions/check= out@...2844... # v4.2.2
+ - uses: lukka/get-cmake@...2846... # v3.31.3
- name: Install rst2html
run:= python -m pip install --upgrade pip docutils
@@ -276,7 +27= 6,7 @@
- name: Restore artifacts, or setup vcpkg (do= not install any package)
uses: lukka/run-vcpkg@...1186...= .2815... # v11.5
with:
- vcpkgGitCommitId: 8d3649ba34aab36914ddd= 897958599aa0a91b08e
+= vcpkgGitCommitId: 80d54ff62d528339c626a6fbc3489a7f25956ade=
vcpkgJsonGlob: '**/windows/vcpkg.json'<= br>
- name: Run CMake with vcpkg.json manifes= t (NO TESTS)
@@ -295,7 +295,7 @@
= testPreset: win-${{ matrix.arch }}-release
test= PresetAdditionalArgs: "['--output-on-failure']"
- - uses:= actions/upload-artifact@...2814... # v4
+ - uses: actions/upload-artifact@...2845... # v4.= 5.0
with:
name: openvpn= -msvc-${{ matrix.arch }}
path: |
@@ -335,13 +335,15 @@
- name: Install dependencies<= /span>
run: sudo apt update && sudo apt install -= y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmoc= ka-dev python3-docutils libtool automake autoconf pkg-config libcap-ng-dev = libnl-genl-3-dev
- name: "libressl: checkout&qu= ot;
- uses: acti= ons/checkout@...2813... # v4
+ uses: actions/checkout@...2844... # v4.2.2
with:
path: libressl
= # versioning=3Dsemver-coerced
reposito= ry: libressl/portable
-= ref: v3.8.3
+ ref: v4.0.0
- name: "libressl: auto= gen.sh"
+ = env:
+ LIBR= ESSL_GIT_OPTIONS: "--no-single-branch"
r= un: ./autogen.sh
working-directory: libressl
- name: "libressl: configure"
@= @ -356,7 +358,7 @@
- name: "ldconfig"
run: sudo ldconfig
- name: Chec= kout OpenVPN
- u= ses: actions/checkout@...2813... # v4
+ uses: actions/checkout@...2844... # v4.2.2=
- name: autoconf
run: autoreconf = -fvi
- name: configure
@@ -397,13 +3= 99,13 @@
- name: Install dependenciesrun: sudo apt update && sudo apt install -y liblzo2-dev = libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3= -docutils python3-jinja2 python3-jsonschema libtool automake autoconf pkg-c= onfig libcap-ng-dev libnl-genl-3-dev
- name: "m= bedtls: checkout"
= - uses: actions/checkout@...2813... # v4
+ uses: actions/checkout@...2844... # v4.= 2.2
with:
path: mbedtls=
submodules: true
# v= ersioning=3Dsemver-coerced
repository: Mbed-TLS/= mbedtls
- ref:= v3.6.1
+ re= f: v3.6.2
- name: "mbedtls: make no_test"<= /span>
run: make -j3 no_test SHARED=3D1
= working-directory: mbedtls
@@ -411,7 +413,7 @@
run: sudo make install DESTDIR=3D/usr
= working-directory: mbedtls
- name: Checkout= OpenVPN
- uses:= actions/checkout@...2813... # v4
+ uses: actions/checkout@...2844... # v4.2.2
= - name: autoconf
run: autoreconf -fvi=
- name: configure
diff --git a/.git= hub/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml
index 16c979d..cb70022 100644
--- a/.github/work= flows/coverity-scan.yml
+++ b/.github/workflows/coverity-sc= an.yml
@@ -13,7 +13,7 @@
steps:=
- name: Check submission cache
id= : check_submit
- = uses: actions/cache/restore@...2819... # v4
+ uses: actions/cache/restore@...2847... # v= 4.2.0
with:
path: |
cov-int
@@ -25,7 +25,7 @@<= br>
- name: Checkout OpenVPN
= if: steps.check_submit.outputs.cache-hit !=3D 'true'
- uses: actions/check= out@...2813... # v4
+= uses: actions/checkout@...2844... # v4.2.2
=
- name: Download Coverity Build Tool
= if: steps.check_submit.outputs.cache-hit !=3D 'true'
= @@ -65,7 +65,7 @@
- name: Ca= che submission
if: steps.check_submit.outputs.cach= e-hit !=3D 'true'
- uses: actions/cache/save@...2819... # v4
+ uses: actions/cache/save@...2849...= .. # v4.2.0
with:
path:= |
cov-int
To view, visit change 789. To unsubscribe, or for help writing mail filters, vi= sit settings.