-
-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathmatrix.exs
More file actions
26 lines (23 loc) · 841 Bytes
/
matrix.exs
File metadata and controls
26 lines (23 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Mix.install([:jason])
versions = [
%{elixir: "1.19", otp: "28", os: "ubuntu-latest"},
%{elixir: "1.18.4", otp: "28", os: "ubuntu-latest"},
%{elixir: "1.18", otp: "27", os: "ubuntu-latest"},
%{elixir: "1.18", otp: "26", os: "ubuntu-latest"},
%{elixir: "1.17", otp: "27", os: "ubuntu-latest"},
%{elixir: "1.17", otp: "26", os: "ubuntu-latest"},
%{elixir: "1.16", otp: "26", os: "ubuntu-latest"},
]
expert_matrix =
[
%{elixir: "1.18.4", otp: "27.3.4.1", project: "expert", os: "ubuntu-latest"},
%{elixir: "1.18.4", otp: "27.3.4.1", project: "expert", os: "windows-2022"}
]
%{
include:
for project <- ["engine", "expert_credo", "forge"], version <- versions do
Map.put(version, :project, project)
end ++ expert_matrix
}
|> Jason.encode!(pretty: true)
|> then(&File.write!(".github/matrix.json", &1))