Skip to content

Commit

Permalink
ci: upgrade otp versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jinganix committed Dec 29, 2023
1 parent 9c897ea commit 9209e3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- master
workflow_dispatch:
schedule:
- cron: '0 10 * * *' # Once per day at 10am UTC

Expand All @@ -17,7 +18,7 @@ jobs:

strategy:
matrix:
otp: ["22", "23", "24"]
otp: ["24", "25", "26"]
fail-fast: false

container:
Expand All @@ -27,9 +28,9 @@ jobs:
ERL_LIBS: './'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout Proper
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: proper-testing/proper
path: "./proper"
Expand All @@ -44,14 +45,14 @@ jobs:

strategy:
matrix:
otp: ["22", "23", "24"]
otp: ["24", "25", "26"]
fail-fast: false

env:
ERL_LIBS: './'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Brew Version Check
run: brew --version
- name: Keep Brew Fresh
Expand All @@ -61,7 +62,7 @@ jobs:
- name: Brew Link
run: brew link erlang@${{ matrix.otp }} --force
- name: Checkout Proper
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: proper-testing/proper
path: "./proper"
Expand Down
6 changes: 2 additions & 4 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@

{pre_hooks, [
{"(linux|darwin|solaris)", compile, "make -C c_src"},
{"(freebsd|openbsd)", compile, "gmake -C c_src"},
{"", compile, "escript enc compile"}
{"(freebsd|openbsd)", compile, "gmake -C c_src"}
]}.

{post_hooks, [
{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(freebsd|openbsd)", clean, "gmake -C c_src clean"},
{"", clean, "escript enc clean"}
{"(freebsd|openbsd)", clean, "gmake -C c_src clean"}
]}.

{eunit_opts, [
Expand Down

0 comments on commit 9209e3f

Please sign in to comment.