From 58f46cc03e4b1045a446da243166fe3f3c06b75d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 15 Mar 2024 15:57:28 +0100 Subject: github: Update checkout action, base image --- .github/workflows/build-programs.yml | 25 ++++++++++++------------- .github/workflows/lint.yml | 4 ++-- .github/workflows/release.yml | 3 ++- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-programs.yml b/.github/workflows/build-programs.yml index 2ca3e50..06642b5 100644 --- a/.github/workflows/build-programs.yml +++ b/.github/workflows/build-programs.yml @@ -12,28 +12,28 @@ jobs: fail-fast: false matrix: config: - - name: debug [default] on Ubuntu 20.04 - build-os: ubuntu-20.04 + - name: debug [default] on Ubuntu 22.04 + build-os: ubuntu-22.04 build-type: "Debug" build-cfg-server-fuse: "OFF" build-cfg-harden: "OFF" - - name: debug [server with fuse support] on Ubuntu 20.04 - build-os: ubuntu-20.04 + - name: debug [server with fuse support] on Ubuntu 22.04 + build-os: ubuntu-22.04 build-type: "Debug" build-cfg-server-fuse: "ON" build-cfg-harden: "OFF" - - name: release [default] on Ubuntu 20.04 - build-os: ubuntu-20.04 + - name: release [default] on Ubuntu 22.04 + build-os: ubuntu-22.04 build-type: "Release" build-cfg-server-fuse: "OFF" build-cfg-harden: "OFF" - - name: release [server with fuse support] on Ubuntu 20.04 - build-os: ubuntu-20.04 + - name: release [server with fuse support] on Ubuntu 22.04 + build-os: ubuntu-22.04 build-type: "Release" build-cfg-server-fuse: "ON" build-cfg-harden: "OFF" - - name: release [default hardening] on Ubuntu 20.04 - build-os: ubuntu-20.04 + - name: release [default hardening] on Ubuntu 22.04 + build-os: ubuntu-22.04 build-type: "Release" build-cfg-server-fuse: "OFF" build-cfg-harden: "ON" @@ -47,10 +47,9 @@ jobs: clang-format \ linux-headers-generic \ libfuse-dev \ - libjansson-dev \ - rpm + libjansson-dev - name: Checkout dnbd3 repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch dnbd3 repository tags run: git fetch --prune --unshallow - name: Configure dnbd3 build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 779865b..6d41378 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ on: jobs: lint: name: Lint dnbd3 - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Install dnbd3 dependencies run: | @@ -21,7 +21,7 @@ jobs: libjansson-dev \ rpm - name: Checkout dnbd3 repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch dnbd3 repository tags run: git fetch --prune --unshallow - name: Configure dnbd3 build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75baa8d..6a06173 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,7 @@ on: jobs: release: name: Release dnbd3 + # Use very old system (= libc) for building for best compatibility runs-on: ubuntu-18.04 steps: - name: Install dnbd3 dependencies @@ -19,7 +20,7 @@ jobs: libjansson-dev \ rpm - name: Checkout dnbd3 repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch dnbd3 repository tags run: git fetch --prune --unshallow - name: Configure dnbd3 release -- cgit v1.2.3-55-g7522