aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.appveyor.yml4
-rw-r--r--.gitattributes1
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--km/build.ps1 (renamed from scripts/build.ps1)2
-rw-r--r--km/test.ps1 (renamed from scripts/test.ps1)0
-rw-r--r--scripts/.gitattributes1
6 files changed, 6 insertions, 6 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 8b3141b..15fad24 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -45,7 +45,7 @@ build_script:
cmake --build . --target install --config $Env:CONFIGURATION
- ps: |
cd $Env:APPVEYOR_BUILD_FOLDER
- .\scripts\build.ps1 `
+ .\km\build.ps1 `
-InstallDir .\build\install `
-Configuration "$Env:TARGET_OS $Env:CONFIGURATION" `
-Platform $Env:PLATFORM `
@@ -77,4 +77,4 @@ for:
- ps: Start-Sleep -s 10
- appveyor.exe AddMessage "OK"
test_script:
- - ps: .\scripts\test.ps1 -InstallDir build\install
+ - ps: .\km\test.ps1 -InstallDir build\install
diff --git a/.gitattributes b/.gitattributes
index d76765e..b1816bb 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,4 @@
* text=auto
+*.ps1 text eol=crlf
*.sh text eol=lf
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fb3b2cb..9f8eca8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -57,14 +57,14 @@ jobs:
cmake --build . --target install --config '${{ matrix.configuration }}'
- name: Build kernel-mode code
run: |
- .\scripts\build.ps1 `
+ .\km\build.ps1 `
-InstallDir build\install `
-Configuration '${{ matrix.configuration }}' `
-Platform '${{ matrix.platform }}' `
-WDK wdk10
- name: Run tests
run: |
- .\scripts\test.ps1 -InstallDir build\install
+ .\km\test.ps1 -InstallDir build\install
- name: Publish artifact
uses: actions/upload-artifact@v7
with:
diff --git a/scripts/build.ps1 b/km/build.ps1
index 3cfc554..f437605 100644
--- a/scripts/build.ps1
+++ b/km/build.ps1
@@ -41,7 +41,7 @@ function Get-DriverBuildDir {
[string] $DriverName
)
- return "$script:PSScriptRoot\..\km\build\$script:WDK\$DriverName"
+ return "$script:PSScriptRoot\build\$script:WDK\$DriverName"
}
function Get-DriverSolutionPath {
diff --git a/scripts/test.ps1 b/km/test.ps1
index e933c06..e933c06 100644
--- a/scripts/test.ps1
+++ b/km/test.ps1
diff --git a/scripts/.gitattributes b/scripts/.gitattributes
deleted file mode 100644
index b086bda..0000000
--- a/scripts/.gitattributes
+++ /dev/null
@@ -1 +0,0 @@
-*.ps1 text eol=crlf