-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I assume that the project will develop in the direction of supporting the the in-tree Linux kernel blksnap module. The standalone blksnap module distributed as part of the Veeam Agent for Linux product will be located in branches with the prefix 'VAL'. The history of patches for the kernel was saved in the 'patch' directory.
- Loading branch information
1 parent
ba76dde
commit 0837313
Showing
119 changed files
with
3,523 additions
and
13,350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Use the latest 2.1 version of CircleCI pipeline process engine. | ||
# See: https://circleci.com/docs/2.0/configuration-reference | ||
version: 2.1 | ||
|
||
shared: &shared | ||
steps: | ||
- checkout | ||
- run: | ||
name: Prepare environment | ||
command: | | ||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections | ||
apt-get update | ||
apt-get dist-upgrade -y | ||
- run: | ||
name: Install dependencies | ||
command: | | ||
apt-get install -y g++ cmake uuid-dev libboost-program-options-dev libboost-filesystem-dev libssl-dev debhelper | ||
- run: | ||
name: Build dev, tools and tests packages | ||
working_directory: pkg/deb | ||
command: ./build-blksnap.sh | ||
- run: | ||
name: Save generate packages as artifacts | ||
working_directory: .. | ||
command: | | ||
mkdir /tmp/artifacts | ||
mv *.deb /tmp/artifacts | ||
- store_artifacts: | ||
path: /tmp/artifacts | ||
|
||
jobs: | ||
debian10: | ||
<<: *shared | ||
docker: | ||
- image: library/debian:buster | ||
debian11: | ||
<<: *shared | ||
docker: | ||
- image: library/debian:bullseye | ||
debian12: | ||
<<: *shared | ||
docker: | ||
- image: library/debian:bookworm | ||
ubuntu1404: | ||
<<: *shared | ||
docker: | ||
- image: library/ubuntu:trusty | ||
ubuntu1604: | ||
<<: *shared | ||
docker: | ||
- image: library/ubuntu:xenial | ||
ubuntu1804: | ||
<<: *shared | ||
docker: | ||
- image: library/ubuntu:bionic | ||
ubuntu2004: | ||
<<: *shared | ||
docker: | ||
- image: library/ubuntu:focal | ||
ubuntu2204: | ||
<<: *shared | ||
docker: | ||
- image: library/ubuntu:jammy | ||
ubuntu2310: | ||
<<: *shared | ||
docker: | ||
- image: library/ubuntu:mantic | ||
|
||
workflows: | ||
build-deb: | ||
jobs: | ||
- debian10 | ||
- debian11 | ||
- debian12 | ||
- ubuntu2004 | ||
- ubuntu2204 | ||
- ubuntu2310 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Test build on other archs | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
paths: | ||
- "include/**" | ||
- "lib/**" | ||
- "tests/**" | ||
- "tools/**" | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths: | ||
- "include/**" | ||
- "lib/**" | ||
- "tests/**" | ||
- "tools/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_job: | ||
# The host should always be linux | ||
runs-on: ubuntu-22.04 | ||
name: ${{ matrix.arch }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- arch: aarch64 | ||
- arch: ppc64le | ||
- arch: s390x | ||
- arch: armv7 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: uraimo/run-on-arch-action@v2 | ||
name: Build | ||
id: build | ||
with: | ||
arch: ${{ matrix.arch }} | ||
distro: bullseye | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
||
# The shell to run commands with in the container | ||
shell: /bin/sh | ||
|
||
# Install some dependencies in the container. This speeds up builds if | ||
# you are also using githubToken. Any dependencies installed here will | ||
# be part of the container image that gets cached, so subsequent | ||
# builds don't have to re-install them. The image layer is cached | ||
# publicly in your project's package repository, so it is vital that | ||
# no secrets are present in the container state or logs. | ||
install: | | ||
apt-get update -q -y | ||
apt-get install -q -y g++ cmake uuid-dev libboost-program-options-dev libboost-filesystem-dev libssl-dev | ||
# Build blksnap-dev, blksnap-tools and blksnap-tests | ||
run: | | ||
cmake . | ||
make | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
paths-ignore: | ||
- "README.md" | ||
- "doc/**" | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths-ignore: | ||
- "README.md" | ||
- "doc/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
amd64: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
name: [Ubuntu-20, Ubuntu-22, Debian-10, Debian-11, Debian-12, Debian-Testing, Debian-Experimental] | ||
cpp_compiler: [g++] | ||
include: | ||
- name: Ubuntu-20 | ||
# Uses gcc 9.3.0, clang 10.0.0, cmake 3.16.3 | ||
image: "ubuntu:20.04" | ||
ubuntu: 20 | ||
- name: Ubuntu-22 | ||
# Uses gcc 12.2.0, clang 15.0.7, cmake 3.24.2 | ||
image: "ubuntu:22.04" | ||
ubuntu: 22 | ||
- name: Debian-10 | ||
# Uses gcc 8.3.0, clang 7.0.1, cmake 3.13.4 | ||
image: "debian:buster" | ||
- name: Debian-11 | ||
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4 | ||
image: "debian:bullseye" | ||
- name: Debian-11 | ||
image: "debian:bullseye" | ||
c_compiler: clang | ||
cpp_compiler: clang++ | ||
- name: Debian-12 | ||
# Uses gcc 12.2.0, clang 15.0.6, cmake 3.25.1 | ||
image: "debian:bookworm" | ||
- name: Debian-12 | ||
image: "debian:bookworm" | ||
c_compiler: clang | ||
cpp_compiler: clang++ | ||
- name: Debian-Testing | ||
image: "debian:testing" | ||
- name: Debian-Testing | ||
image: "debian:testing" | ||
c_compiler: clang | ||
cpp_compiler: clang++ | ||
- name: Debian-Experimental | ||
image: "debian:experimental" | ||
- name: Debian-Experimental | ||
image: "debian:experimental" | ||
c_compiler: clang | ||
cpp_compiler: clang++ | ||
container: | ||
image: ${{ matrix.image }} | ||
env: | ||
LANG: en_US.UTF-8 | ||
BUILD_TYPE: ${{ matrix.build_type }} | ||
CC: ${{ matrix.c_compiler }} | ||
CXX: ${{ matrix.cpp_compiler }} | ||
WITH_PROJ: ON | ||
APT_LISTCHANGES_FRONTEND: none | ||
DEBIAN_FRONTEND: noninteractive | ||
steps: | ||
- name: Install packages required | ||
shell: bash | ||
run: | | ||
apt-get update -qq | ||
apt-get install -yq \ | ||
clang \ | ||
cmake \ | ||
g++ \ | ||
uuid-dev \ | ||
libboost-program-options-dev \ | ||
libboost-filesystem-dev \ | ||
libssl-dev | ||
- uses: actions/checkout@v4 | ||
- name: Build blksnap-dev, blksnap-tools and blksnap-tests | ||
working-directory: . | ||
run: | | ||
cmake . | ||
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.