use lists for build args

This commit is contained in:
James Ravenscroft 2023-08-26 12:45:23 +01:00
parent 6877542ad8
commit 2abdcabf02

View File

@ -16,18 +16,18 @@ jobs:
strategy:
matrix:
config:
- {tag: "", dockerfile: "./Dockerfile.default", platforms: "linux/amd64,linux/arm64", build_args: {} }
- {tag: "", dockerfile: "./Dockerfile.default", platforms: "linux/amd64,linux/arm64", build_args: [] }
- {
tag: "openblas",
dockerfile: "./Dockerfile.default",
platforms: "linux/amd64,linux/arm64",
build_args: {
"EXTRA_DEPS":"libopenblas-dev",
"CMAKE_ARGS": "-DGGML_OPENBLAS=On"
build_args: [
"EXTRA_DEPS=libopenblas-dev",
"CMAKE_ARGS=\"-DGGML_OPENBLAS=On\""
]
}
}
- {tag: "-cuda11", dockerfile: "./Dockerfile.cuda11", platforms: "linux/amd64", build_args: {} }
- {tag: "-cuda12", dockerfile: "./Dockerfile.cuda12", platforms: "linux/amd64", build_args: {} }
- {tag: "-cuda11", dockerfile: "./Dockerfile.cuda11", platforms: "linux/amd64", build_args: [] }
- {tag: "-cuda12", dockerfile: "./Dockerfile.cuda12", platforms: "linux/amd64", build_args: [] }
steps: