chore: Keep skip's and add more tests for individual TFM's

This commit is contained in:
Daniil Pavliuchyk 2024-09-18 16:35:37 +03:00
Родитель 2f2a8463a4
Коммит 9cb529ec9b
1 изменённых файлов: 30 добавлений и 14 удалений

44
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -89,31 +89,37 @@ jobs:
include:
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Stable
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32 --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32'
- manifest: 'manifests\uno.ui-preview.manifest.json'
manifest_name: Preview
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32 --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32'
- manifest: 'manifests\uno.ui-preview-major.manifest.json'
manifest_name: Preview net9
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32 --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Stable Upgrade
previous_tool_version: 1.4.2
previous_tool_params: ''
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32 --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32'
- manifest: 'manifests\uno.ui-preview.manifest.json'
manifest_name: Preview Upgrade
previous_tool_version: 1.4.2
previous_tool_params: '--pre'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32 --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32'
- manifest: 'manifests\uno.ui-preview-major.manifest.json'
manifest_name: Preview Upgrade net8
previous_tool_version: 1.4.2
previous_tool_params: '--pre'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32 --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
tool_params: '--target webassembly --target ios --target android --target macos --target linux --target win32'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Test default Uno template TFM's
tool_params: '--tfm net8.0-android --tfm net8.0-ios --tfm net8.0-maccatalyst --tfm net8.0-windows10.0.19041 --tfm net8.0-browserwasm --tfm net8.0-desktop'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Test net8.0-android\ios TFM's
tool_params: '--tfm net8.0-android --tfm net8.0-ios'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Test net8.0-browserwasm TFM
tool_params: '--tfm net8.0-browserwasm'
steps:
- name: Checkout
@ -163,7 +169,7 @@ jobs:
$ProgressPreference = 'SilentlyContinue'
& dotnet --list-sdks
& dotnet tool install --global --version ${{ steps.gitversion.outputs.semVer }} --add-source NuGet\ uno.check
& uno-check --ci --fix --non-interactive --verbose --manifest ${{ matrix.manifest }} ${{ matrix.tool_params }}
& uno-check --ci --fix --non-interactive --verbose --manifest ${{ matrix.manifest }} --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2 ${{ matrix.tool_params }}
testmac:
name: Validate Tool - macOS - ${{ matrix.manifest_name }}/${{ matrix.os }}
@ -209,6 +215,16 @@ jobs:
os: macos-12
dotnet_version: 8.0.300
tool_params: '--tfm net8.0-android --tfm net8.0-ios --tfm net8.0-maccatalyst --tfm net8.0-windows10.0.19041 --tfm net8.0-browserwasm --tfm net8.0-desktop'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Test net8.0-android\ios TFM's
os: macos-12
dotnet_version: 8.0.300
tool_params: '--tfm net8.0-android --tfm net8.0-ios'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Test net8.0-browserwasm TFM
os: macos-12
dotnet_version: 8.0.300
tool_params: '--tfm net8.0-browserwasm'
# - manifest: 'manifests/uno.ui-preview-major.manifest.json'
# manifest_name: Preview Upgrade net8
# previous_tool_version: 1.4.2
@ -294,31 +310,31 @@ jobs:
include:
- manifest: 'manifests/uno.ui.manifest.json'
manifest_name: Stable
tool_params: '--skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
- manifest: 'manifests/uno.ui-preview.manifest.json'
manifest_name: Preview
tool_params: '--skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
- manifest: 'manifests/uno.ui-preview-major.manifest.json'
manifest_name: Preview net9
tool_params: '--skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
- manifest: 'manifests/uno.ui.manifest.json'
manifest_name: Stable Upgrade
previous_tool_version: 1.4.2
previous_tool_params: ''
tool_params: '--skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
- manifest: 'manifests/uno.ui-preview.manifest.json'
manifest_name: Preview Upgrade
previous_tool_version: 1.4.2
previous_tool_params: '--pre'
tool_params: '--skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
- manifest: 'manifests/uno.ui-preview-major.manifest.json'
manifest_name: Preview Upgrade net8
previous_tool_version: 1.4.2
previous_tool_params: '--pre'
tool_params: '--skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2'
- manifest: 'manifests/uno.ui.manifest.json'
manifest_name: Test default Uno template TFM's
tool_params: '--tfm net8.0-android --tfm net8.0-ios --tfm net8.0-maccatalyst --tfm net8.0-windows10.0.19041 --tfm net8.0-browserwasm --tfm net8.0-desktop'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Test net8.0-android\ios TFM's
tool_params: '--tfm net8.0-android --tfm net8.0-ios'
- manifest: 'manifests\uno.ui.manifest.json'
manifest_name: Test net8.0-browserwasm TFM
tool_params: '--tfm net8.0-browserwasm'
steps:
- name: Checkout
@ -371,7 +387,7 @@ jobs:
Write-Output "PACKAGE VERSION: ${{ steps.gitversion.outputs.semVer }}"
$ProgressPreference = 'SilentlyContinue'
& dotnet tool install --global --version ${{ steps.gitversion.outputs.semVer }} --add-source NuGet/ uno.check
& uno-check --ci --fix --verbose --non-interactive --verbose --manifest ${{ matrix.manifest }} ${{ matrix.tool_params }}
& uno-check --ci --fix --verbose --non-interactive --verbose --manifest ${{ matrix.manifest }} --skip xcode --skip vswin --skip vsmac --skip wsl --skip edgewebview2 ${{ matrix.tool_params }}
sign:
name: Sign Package