Skip to content

Commit

Permalink
test windows
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Jan 8, 2024
1 parent e3f8fab commit dd0c7a7
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 247 deletions.
98 changes: 50 additions & 48 deletions .github/workflows/build.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,48 +18,49 @@ class Configuration(
)

val configurations = listOf(
Configuration(
name = "macos",
runnerType = MacOSLatest,
profiles = listOf(
"tvos-simulator-arm64" to false,
"tvos-simulator-x64" to false,
"tvos-device-arm64" to false,

"watchos-simulator-arm64" to false,
"watchos-simulator-x64" to false,
"watchos-device-arm32" to false,
"watchos-device-arm64" to false,
"watchos-device-arm64_32" to false,

"ios-device-arm64" to false,
"ios-simulator-arm64" to false,
"ios-simulator-x64" to false,

"macos-x64" to true,
"macos-arm64" to true,
)
),
Configuration(
name = "linux",
runnerType = Ubuntu2004,
profiles = listOf(
"android-arm64" to true,
"android-arm32" to true,
"android-x64" to true,
"android-x86" to true,

"linux-x64" to true,
"linux-arm64" to true,

"wasm" to false,
)
),
// Configuration(
// name = "macos",
// runnerType = MacOSLatest,
// profiles = listOf(
// "tvos-simulator-arm64" to false,
// "tvos-simulator-x64" to false,
// "tvos-device-arm64" to false,
//
// "watchos-simulator-arm64" to false,
// "watchos-simulator-x64" to false,
// "watchos-device-arm32" to false,
// "watchos-device-arm64" to false,
// "watchos-device-arm64_32" to false,
//
// "ios-device-arm64" to false,
// "ios-simulator-arm64" to false,
// "ios-simulator-x64" to false,
//
// "macos-x64" to true,
// "macos-arm64" to true,
// )
// ),
// Configuration(
// name = "linux",
// runnerType = Ubuntu2004,
// profiles = listOf(
// "android-arm64" to true,
// "android-arm32" to true,
// "android-x64" to true,
// "android-x86" to true,
//
// "linux-x64" to true,
// "linux-arm64" to true,
//
// "wasm" to false,
// )
// ),
Configuration(
name = "windows",
runnerType = WindowsLatest,
profiles = listOf(
"mingw-x64" to true
// "mingw-x64" to true,
"windows-x64" to true,
)
)
)
Expand All @@ -86,15 +87,16 @@ fun conanCommand(profile: String, version: String, shared: String, command: Stri
workflow(
name = "Build",
on = listOf(
WorkflowDispatch(
inputs = mapOf(
"version" to WorkflowDispatch.Input(
description = "version of OpenSSL 3",
required = true,
type = WorkflowDispatch.Type.String
)
)
)
Push(),
// WorkflowDispatch(
// inputs = mapOf(
// "version" to WorkflowDispatch.Input(
// description = "version of OpenSSL 3",
// required = true,
// type = WorkflowDispatch.Type.String
// )
// )
// )
),
_customArguments = mapOf(
"defaults" to mapOf(
Expand All @@ -105,7 +107,7 @@ workflow(
),
sourceFile = __FILE__.toPath(),
) {
val version = expr("inputs.version")
val version = "3.2.0"//expr("inputs.version")
val jobs = configurations.map { configuration ->
job(
id = configuration.name,
Expand Down
Loading

0 comments on commit dd0c7a7

Please sign in to comment.