Skip to content

Commit b118ab3

Browse files
authored
Moar CMake improvements (#1847)
* Require OpenSSL from top-level CMakeLists * Automatically generate TLO files for TL schemas * Remove useless directory include in tddb target * Do not compile some validator sources 3 times Instead, put them into an object library and use it in 3 different validator targets. * Do not make ninja regenerate smartcont/provider-code.h on every run OUTPUT parameter is relative to the current binary directory by default, so we need to explicitly use ${CMAKE_CURRENT_SOURCE_DIR}. * Run CI in forks as well I faced some unexpected backlash from other developers because of disabling it in #1844.
1 parent 7b7db09 commit b118ab3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+30
-136
lines changed

.github/workflows/build-ton-linux-android-tonlib.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: ubuntu-22.04
108

119
steps:

.github/workflows/build-ton-linux-arm64-appimage.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: ubuntu-22.04-arm
108

119
steps:

.github/workflows/build-ton-linux-arm64-shared.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
strategy:
108
fail-fast: false
119
matrix:

.github/workflows/build-ton-linux-x86-64-appimage.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: ubuntu-22.04
108

119
steps:

.github/workflows/build-ton-linux-x86-64-shared.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
strategy:
108
fail-fast: false
119
matrix:

.github/workflows/build-ton-linux-x86-64-werror.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: ubuntu-24.04
108

119
steps:

.github/workflows/build-ton-macos-13-x86-64-portable.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: macos-13
108

119
steps:

.github/workflows/build-ton-macos-14-arm64-portable.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: macos-14
108

119
steps:

.github/workflows/build-ton-macos-15-arm64-shared.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: macos-15
108

119
steps:

.github/workflows/build-ton-macos-arm64-shared.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on: [push, pull_request, workflow_dispatch, workflow_call]
44

55
jobs:
66
build:
7-
if: github.repository == 'ton-blockchain/ton'
8-
97
runs-on: macos-14
108

119
steps:

0 commit comments

Comments
 (0)