Skip to content

Commit 022f818

Browse files
authored
Merge pull request #973 from intel/appveyor-win-driver-update
CI updates
2 parents 88719ed + 795011c commit 022f818

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.github/workflows/macos-scan-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
with:
2121
egress-policy: audit
2222

23+
- uses: maxim-lobanov/setup-xcode@v1
24+
with:
25+
xcode-version: '14.3.1'
26+
2327
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2428
with:
2529
submodules: recursive

.github/workflows/macosx_build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
with:
2121
egress-policy: audit
2222

23+
- uses: maxim-lobanov/setup-xcode@v1
24+
with:
25+
xcode-version: '14.3.1'
26+
2327
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2428
with:
2529
submodules: recursive

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@ configuration: Release
66
platform: x64
77
before_build:
88
- cmd: >-
9+
nuget restore src\WinMSRDriver\MSR.vcxproj
10+
911
cmake --version
1012
1113
cmake -B build
1214
1315
1416
build_script:
1517
- cmake --build build --config Release --parallel
18+
- msbuild src\WinMSRDriver\MSR.vcxproj /m /t:Build /p:Configuration=Release /p:Platform=x64
1619

1720
after_build:
18-
- cmd: 7z a pcm-all.zip %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.exe %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.dll %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.lib %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.exp %APPVEYOR_BUILD_FOLDER%\src\windows\PCM-Service.exe.config
21+
- cmd: 7z a pcm-all.zip %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.exe %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.dll %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.lib %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.exp %APPVEYOR_BUILD_FOLDER%\src\windows\PCM-Service.exe.config %APPVEYOR_BUILD_FOLDER%\src\WinMSRDriver\x64\Release\MSR\msr.*
1922
artifacts:
2023
- path: pcm-all.zip
2124
name: pcm-all
25+

src/MacMSRDriver/PcmMsr/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ set_target_properties(PcmMsrDriver PROPERTIES BUNDLE_EXTENSION kext MACOSX_BUNDL
1515
target_include_directories(PcmMsrDriver PRIVATE
1616
${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/Kernel.framework/PrivateHeaders
1717
${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/Kernel.framework/Headers
18+
${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/Kernel.framework/Versions/A/Headers
19+
/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers
1820
)
1921
target_compile_definitions(PcmMsrDriver PRIVATE
2022
-DKERNEL

0 commit comments

Comments
 (0)