diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-15 16:18:45 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-15 16:18:45 +0200 |
| commit | 3ba9bd382c33307d726b71177e6be2252df3f758 (patch) | |
| tree | 419c37f090df678dada1657ee761269fb8ee9eae | |
| parent | test.ps1: add a test for nt_namespace (diff) | |
| download | windows7-drivers-3ba9bd382c33307d726b71177e6be2252df3f758.tar.gz windows7-drivers-3ba9bd382c33307d726b71177e6be2252df3f758.zip | |
move {build,test}.ps1 to km/
| -rw-r--r-- | .appveyor.yml | 4 | ||||
| -rw-r--r-- | .gitattributes | 1 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
| -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/.gitattributes | 1 |
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 |
