File tree 2 files changed +27
-9
lines changed
2 files changed +27
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : precompile
2
2
3
- on :
4
- push :
5
- tags :
6
- - ' v*'
3
+ on : push
7
4
8
5
jobs :
9
6
linux :
7
+ name : Linux Erlang/OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
10
8
runs-on : ubuntu-20.04
11
9
env :
12
10
MIX_ENV : " prod"
11
+ strategy :
12
+ matrix :
13
+ # Elixir 1.14.5 is first version compatible with OTP 26
14
+ # NIF versionsss change according to
15
+ # https://github.com/erlang/otp/blob/dd57c853a324a9572a9e5ce227d8675ff004c6fe/erts/emulator/beam/erl_nif.h#L33
16
+ otp : ["25.0", "26.0"]
17
+ elixir : ["1.14.5"]
13
18
steps :
14
19
- uses : actions/checkout@v3
15
20
- uses : erlef/setup-beam@v1
16
21
with :
17
- otp-version : " 25.2.1 "
18
- elixir-version : " 1.14 "
22
+ otp-version : ${{matrix.otp}}
23
+ elixir-version : ${{matrix.elixir}}
19
24
- name : Install system dependecies
20
25
run : |
21
26
sudo apt-get update
@@ -39,13 +44,26 @@ jobs:
39
44
40
45
macos :
41
46
runs-on : macos-latest
47
+ # Homebrew supports versioned Erlang/OTP but not Elixir
48
+ # It's a deliberate design decision from Homebrew to
49
+ # only support versioned distrinutions for certin packages
50
+ name : Mac (Intel) Erlang/OTP ${{matrix.otp}} / Elixir
42
51
env :
43
52
MIX_ENV : " prod"
53
+ strategy :
54
+ matrix :
55
+ otp : ["25.0", "26.0"]
56
+ elixir : ["1.14.5"]
44
57
steps :
45
58
- uses : actions/checkout@v3
46
- - name : Install erlang and elixir
59
+ - uses : asdf-vm/actions/install@v2
60
+ with :
61
+ tool_versions : |
62
+ erlang ${{matrix.otp}}
63
+ elixir ${{matrix.elixir}}
64
+ - name : Install libomp
47
65
run : |
48
- brew install erlang elixir libomp
66
+ brew install libomp
49
67
mix local.hex --force
50
68
mix local.rebar --force
51
69
- name : Mix Test
Original file line number Diff line number Diff line change 1
1
defmodule EXGBoost.MixProject do
2
2
use Mix.Project
3
- @ version "0.3.1 "
3
+ @ version "0.3.2 "
4
4
5
5
def project do
6
6
[
You can’t perform that action at this time.
0 commit comments