diff options
author | Simon Rettberg | 2024-03-15 15:57:28 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-03-15 15:57:28 +0100 |
commit | 58f46cc03e4b1045a446da243166fe3f3c06b75d (patch) | |
tree | bb20619e2fbbdccc462706d6196ea15b3d330c07 | |
parent | github: Add more kernels to build matrix (diff) | |
download | dnbd3-58f46cc03e4b1045a446da243166fe3f3c06b75d.tar.gz dnbd3-58f46cc03e4b1045a446da243166fe3f3c06b75d.tar.xz dnbd3-58f46cc03e4b1045a446da243166fe3f3c06b75d.zip |
github: Update checkout action, base image
-rw-r--r-- | .github/workflows/build-programs.yml | 25 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 4 | ||||
-rw-r--r-- | .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 |