-
Notifications
You must be signed in to change notification settings - Fork 199
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
fix MSVC PDB installation #370
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,13 +104,16 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Configure | ||
run: cmake -DPCRE2_SUPPORT_JIT=ON -DPCRE2_BUILD_PCRE2_16=ON -DPCRE2_BUILD_PCRE2_32=ON -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c -B build -A Win32 | ||
run: cmake -G "Visual Studio 17 2022" -DBUILD_SHARED_LIBS=ON -DINSTALL_MSVC_PDB=ON -DPCRE2_SUPPORT_JIT=ON -DPCRE2_BUILD_PCRE2_16=ON -DPCRE2_BUILD_PCRE2_32=ON -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c -B build -A Win32 | ||
|
||
- name: Build | ||
run: cmake --build build | ||
run: cmake --build build --config=RelWithDebInfo | ||
|
||
- name: Install | ||
run: cmake --install build --config=RelWithDebInfo --prefix=install | ||
|
||
- name: Test | ||
run: | | ||
cd build\Debug | ||
cd install\bin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "bin" might change based on other cmake variables, so it might be better to make that setting explicit at configure time to avoid fragility |
||
..\..\RunTest.bat | ||
./pcre2posix_test -v | ||
..\..\build\RelWithDebInfo\pcre2posix_test -v | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this really needed? |
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.
Instead of changing this CI job, add a new one in dev.yml that addresses this specific dev configuration