Skip to content
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

Add actions entries #412

Merged
merged 2 commits into from
Dec 19, 2024
Merged
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
88 changes: 88 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,94 @@ jobs:
run: |
./releasetest

build-macos14:
runs-on: macos-14
steps:
- uses: actions/checkout@main
- name: Homebrew
run: |
which pkg-config || brew install pkg-config
brew install qt6 jq mongo-c-driver gflags glog lz4
- name: configure for debug
run: |
./configure --prefix=/usr/local --enable-shared-mongoc --enable-shared-glog --enable-shared-lz4 --enable-debug
- name: build for debug
run: |
make -j4 -C src
sudo make -C src install
make -j4 -C tools
sudo make -C tools install
- name: configure
run: |
./configure --prefix=/usr/local --enable-shared-mongoc --enable-shared-glog --enable-shared-lz4
- name: build
run: |
make -j4 -C src
sudo make -C src install
make -j4 -C tools
sudo make -C tools install
- name: version
run: |
treefrog -v
tspawn --show-drivers
- name: brew install for test
run: |
brew install redis memcached
brew services start redis
brew services start memcached
- name: testall.sh
working-directory: src/test
run: |
./testall.sh
- name: releasetest
working-directory: tools/test/releasetest
run: |
./releasetest

build-macos13:
runs-on: macos-13
steps:
- uses: actions/checkout@main
- name: Homebrew
run: |
which pkg-config || brew install pkg-config
brew install qt6 jq mongo-c-driver gflags glog lz4
- name: configure for debug
run: |
./configure --prefix=/usr/local --enable-shared-mongoc --enable-shared-glog --enable-shared-lz4 --enable-debug
- name: build for debug
run: |
make -j4 -C src
sudo make -C src install
make -j4 -C tools
sudo make -C tools install
- name: configure
run: |
./configure --prefix=/usr/local --enable-shared-mongoc --enable-shared-glog --enable-shared-lz4
- name: build
run: |
make -j4 -C src
sudo make -C src install
make -j4 -C tools
sudo make -C tools install
- name: version
run: |
treefrog -v
tspawn --show-drivers
- name: brew install for test
run: |
brew install redis memcached
brew services start redis
brew services start memcached
- name: testall.sh
working-directory: src/test
run: |
./testall.sh
- name: releasetest
working-directory: tools/test/releasetest
run: |
./releasetest

build-windows-qt68-msvc2022:
runs-on: windows-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/tglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ constexpr auto TF_SRC_REVISION = 2956;
#include <version>


#if (!defined(Q_OS_WIN) && (defined(__cpp_lib_format) || __has_include(<format>))) || (defined(_MSC_VER) && _MSC_VER >= 1930) // std::format
#if (!defined(Q_OS_WIN) && defined(__cpp_lib_format)) || (defined(_MSC_VER) && _MSC_VER >= 1930) // std::format
#define TF_HAVE_STD_FORMAT
#endif

Expand Down
Loading