Skip to content

Commit

Permalink
Build with systemd support. And bring both build workflows in sync
Browse files Browse the repository at this point in the history
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
  • Loading branch information
melroy89 committed Oct 2, 2024
1 parent 9827eef commit c7d56bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/call-build-linux-arm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
build-valkey:
# Capture source tarball and generate checksum for it
name: Build package ${{ matrix.distro.target }} ${{ matrix.distro.arch }}
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix: ${{ fromJSON(inputs.build_matrix) }}
Expand All @@ -51,8 +51,8 @@ jobs:
with:
arch: aarch64
distro: ${{matrix.distro.target}}
install: apt-get update && apt-get install -y build-essential libssl-dev
run: make -C src all BUILD_TLS=yes
install: apt-get update && apt-get install -y build-essential libssl-dev libsystemd-dev
run: make -C src all BUILD_TLS=yes USE_SYSTEMD=yes

- name: Create Tarball and SHA256sums
run: |
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/call-build-linux-x86-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
build-valkey:
# Capture source tarball and generate checksum for it
name: Build package ${{ matrix.distro.target }} ${{ matrix.distro.arch }}
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix: ${{ fromJSON(inputs.build_matrix) }}
Expand All @@ -47,10 +47,10 @@ jobs:
ref: ${{ inputs.version }}

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential libssl-dev jq wget awscli
run: sudo apt-get update && sudo apt-get install -y build-essential libssl-dev libsystemd-dev

- name: Make Valkey
run: make -C src all BUILD_TLS=yes
run: make -C src all BUILD_TLS=yes USE_SYSTEMD=yes

- name: Create Tarball and SHA256sums
run: |
Expand All @@ -63,6 +63,10 @@ jobs:
mkdir -p packages-files
cp -rfv $TAR_FILE_NAME.tar* packages-files/
- name: Install AWS cli.
run: |
sudo apt-get install -y awscli
- name: Configure AWS credentials
run: |
aws configure set region us-west-2
Expand Down

0 comments on commit c7d56bd

Please sign in to comment.