Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/analyzers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ push, pull_request ]

jobs:
clang_format:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout
Expand All @@ -24,7 +24,7 @@ jobs:


cmake_format:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout
Expand All @@ -38,7 +38,7 @@ jobs:


code_inspector:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
prepare_build:
name: Prepare Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
ci_tag: ${{ steps.set_vars.outputs.ci_tag }}
tag_created: ${{ steps.set_vars.outputs.tag_created }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
name: Linux [${{ matrix.network }}]
needs: prepare_build
if: ${{ needs.prepare_build.outputs.tag_created == 'true' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 90
strategy:
matrix:
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
name: Docker [${{ matrix.network }}]
needs: prepare_build
if: ${{ needs.prepare_build.outputs.tag_created == 'true' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 90
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:

jobs:
changelog_job:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 90
steps:
- name: Sets the tag and repo variables (to build)
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
env:
LCOV: 1
COMPILER: gcc
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
TEST_USE_ROCKSDB: [0, 1]
Expand All @@ -29,7 +29,8 @@ jobs:
submodules: "recursive"
- name: Fetch Deps
run: |
sudo apt-get update -qq && sudo apt-get install -yqq build-essential g++ wget python zlib1g-dev qt5-default \
sudo apt-get update -qq && sudo apt-get install -yqq build-essential g++ wget python3 zlib1g-dev \
qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools \
valgrind xorg xvfb xauth xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic ocl-icd-opencl-dev \
git lcov python3-pip
wget -O cmake_install.sh https://github.com/Kitware/CMake/releases/download/v3.15.4/cmake-3.15.4-Linux-x86_64.sh
Expand All @@ -46,7 +47,7 @@ jobs:
parallel: true
finish:
needs: coverage_test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: coverallsapp/github-action@8cbef1dea373ebce56de0a14c68d6267baa10b44
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flamegraphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
TEST_NAME: [large_confirmation, large_direct_processing] # slow_test --gtest_filter=flamegraph.[name]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
TEST_NAME: ${{ matrix.TEST_NAME }}
BACKEND: lmdb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
promote_reference:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
# set(CMAKE_C_EXTENSIONS OFF)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down
12 changes: 11 additions & 1 deletion ci/prepare/linux/prepare-gcc.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
#!/bin/bash
set -euox pipefail
set -euox pipefail

# Install GCC 13 for C++23 support (std::unreachable, etc.)
apt-get install -yqq software-properties-common
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get update -qq
apt-get install -yqq gcc-13 g++-13

# Set GCC 13 as default
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100
2 changes: 1 addition & 1 deletion docker/ci/Dockerfile-base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
2 changes: 1 addition & 1 deletion docker/ci/Dockerfile-rhel
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ RUN yum update -y
RUN yum install -y git wget openssl bzip2
RUN yum install -y rpm-build
RUN yum install -y glibc-devel glibc-headers make which
RUN yum install -y cmake gcc-toolset-12
RUN yum install -y cmake gcc-toolset-13
RUN yum install -y python38
4 changes: 2 additions & 2 deletions docker/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04 AS builder
FROM ubuntu:24.04 AS builder

ARG COMPILER=gcc
ARG NANO_NETWORK=live
Expand All @@ -24,7 +24,7 @@ ARG SANITIZER
RUN ci/build-node.sh
RUN echo ${NANO_NETWORK} >/etc/nano-network

FROM ubuntu:22.04
FROM ubuntu:24.04

RUN groupadd --gid 1000 nanocurrency && \
useradd --uid 1000 --gid nanocurrency --shell /bin/bash --create-home nanocurrency
Expand Down
Loading