Skip to content

Commit 6927524

Browse files
committed
Add PTIX Support
1 parent e1efc31 commit 6927524

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,28 @@ jobs:
4747
- name: Test projects
4848
run: dotnet test Microsoft-Perf-Tools-Linux-Android.sln --no-restore --verbosity normal
4949

50+
- name: Install PluginTool
51+
run: dotnet tool install --global Microsoft.Performance.Toolkit.Plugins.Cli --version 0.1.25-preview
52+
53+
- name: Create PTIX
54+
run: |
55+
$dirs = @{
56+
"PerfDataExtension" = "PerfDataExtension/bin/Release/netstandard2.1/*"
57+
"PerfDataTxtExtension" = "PerfDataTxtExtension/bin/Release/netstandard2.1/*"
58+
"LTTngDataExtensions" = "LTTngDataExtensions/bin/Release/netstandard2.1/*"
59+
"LTTngDriver" = "LTTngDriver/bin/Release/netcoreapp8.0/*"
60+
"Perfetto" = "PerfettoCds/bin/Release/netstandard2.1/*"
61+
"Cloud-init" = "LinuxLogParsers/LinuxPlugins-MicrosoftPerformanceToolkSDK/Cloud-init/bin/Release/netstandard2.1/*"
62+
"Dmesg" = "LinuxLogParsers/LinuxPlugins-MicrosoftPerformanceToolkSDK/DmesgIsoLog/bin/Release/netstandard2.1/*"
63+
"WaLinuxAgent" = "LinuxLogParsers/LinuxPlugins-MicrosoftPerformanceToolkSDK/WaLinuxAgent/bin/Release/netstandard2.1/*"
64+
"AndroidLogCat" = "LinuxLogParsers/LinuxPlugins-MicrosoftPerformanceToolkSDK/AndroidLogCat/bin/Release/netstandard2.1/*"
65+
}
66+
67+
foreach ($dir in $dirs.Keys) {
68+
$sourcePath = $dirs[$dir]
69+
plugintool pack -s $sourcePath
70+
}
71+
5072
- name: Copy files and prepare artifacts
5173
run: |
5274
$dirs = @{
@@ -62,6 +84,7 @@ jobs:
6284
"Launcher" = "Launcher/*"
6385
"ReleaseFiles" = "ReleaseFiles/*"
6486
}
87+
6588
foreach ($dir in $dirs.Keys) {
6689
$sourcePath = $dirs[$dir]
6790
$targetPath = "${{ github.workspace }}/drop/Microsoft-Performance-Tools-Linux/MicrosoftPerfToolkitAddins/$dir"

0 commit comments

Comments
 (0)