Skip to content

Commit eb87d54

Browse files
committed
fix: replace v26 old ci with v29 ci
1 parent dda0a4f commit eb87d54

File tree

2 files changed

+19
-135
lines changed

2 files changed

+19
-135
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
packages: write
1313

1414
env:
15-
IMAGE_NAME: coordinate-core
15+
IMAGE_NAME: coordinatecore
1616

1717
jobs:
1818
build-and-push:
@@ -34,6 +34,17 @@ jobs:
3434
echo "release_branch=dev" >> $GITHUB_OUTPUT
3535
fi
3636
37+
- name: Cache CMake build
38+
uses: actions/cache@v3
39+
with:
40+
path: |
41+
build
42+
~/.cache
43+
key: ${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('**/*.cpp', '**/*.h') }}
44+
restore-keys: |
45+
${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }}-
46+
${{ runner.os }}-cmake-
47+
3748
- name: Create new tag (semantic versioning)
3849
id: tag
3950
uses: mathieudutour/[email protected]
@@ -57,6 +68,7 @@ jobs:
5768
5869
sudo apt-get update && sudo apt-get install -y \
5970
build-essential \
71+
cmake \
6072
libtool \
6173
autotools-dev \
6274
automake \
@@ -72,14 +84,14 @@ jobs:
7284
systemtap-sdt-dev \
7385
curl
7486
75-
- name: autogen
76-
run: ./autogen.sh
87+
- name: Configure with CMake
88+
run: cmake -B build -DWITH_ZMQ=ON
7789

78-
- name: configure
79-
run: ./configure --without-gui
90+
- name: Build with CMake
91+
run: cmake --build build
8092

81-
- name: make
82-
run: make
93+
- name: Verify build artifacts
94+
run: ls -la build/bin/
8395

8496
- name: Fix Docker socket permissions
8597
run: sudo chmod 666 /var/run/docker.sock

.github/workflows/dev-build-push-ghcr.yml

Lines changed: 0 additions & 128 deletions
This file was deleted.

0 commit comments

Comments
 (0)