-
-
Notifications
You must be signed in to change notification settings - Fork 271
Build FirebirdSQL CMake+CLang #9111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Khalyutin
wants to merge
15
commits into
FirebirdSQL:master
Choose a base branch
from
notesoft:path-SQLfb-CMake-LLVM
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a0d5e4e
update FB6 CMake build (win, lin, osx)
Khalyutin fc28697
addition FB6 CMake build githab workflow
Khalyutin 1d64312
FB6 CMake workflow exclude 'tag'
Khalyutin a6fdaad
update for: common ThreadCleanup.cpp
Khalyutin e4e3bb6
update for: HAVE_TOMCRYPT
Khalyutin eea7600
Merge branch 'FirebirdSQL:master' into path-SQLfb-CMake-LLVM
Khalyutin cb67e1d
correct type "Program Files"
Khalyutin 0688dab
manual start workflows
Khalyutin 236bd5e
readme for cmake build (txt)
Khalyutin 82d84f6
add find ucnv.h in /usr/include/aarch64-linux-gnu
Khalyutin a009637
WITH_LIBTOM_STATIC set OFF
Khalyutin f6c4187
correct typo BUNARY
Khalyutin 6226585
README.build.cmake convert txt to md
Khalyutin 53bafcf
README.build.cmake correct
Khalyutin d2e1688
own build posix shared libtom`s
Khalyutin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,44 @@ | ||
| name: CMake on multiple platforms | ||
|
|
||
| on: [push, pull_request] | ||
|
|
||
| jobs: | ||
| build: | ||
| if: ${{ true && github.ref_type != 'tag' }} # set !true for disable | ||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
|
|
||
| matrix: | ||
| # os: [ubuntu-latest, windows-latest, macos-latest, windows-11-arm, macos-26-intel, ubuntu-24.04-arm] | ||
| os: [ubuntu-24.04, windows-2025, macos-15, windows-11-arm, macos-15-intel, ubuntu-24.04-arm] | ||
| build_type: [Release] | ||
| c_compiler: [clang] | ||
| cpp_compiler: [clang++] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set reusable strings | ||
| id: strings | ||
| shell: bash | ||
|
|
||
| run: | | ||
| echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" | ||
|
|
||
| - name: Configure CMake | ||
| run: > | ||
| cmake -B ${{ steps.strings.outputs.build-output-dir }} | ||
| -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} | ||
| -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} | ||
| -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} | ||
| -S ${{ github.workspace }} | ||
| -G "Unix Makefiles" | ||
|
|
||
| - name: Build | ||
| run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target all -j 8 | ||
|
|
||
| - name: runTest | ||
| run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target run_tests -j 8 | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use only manual like in https://github.com/FirebirdSQL/firebird/blob/master/.github/workflows/static-build.yml#L4
To not avoid more build cost for non-default build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But how to run it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only core members could and just after it's merged in master.
You can run in your fork too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, firebird workflows cannot be run in different repositories.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our fork I don't see a place where I can run it`s