Skip to content

Commit

Permalink
Merge pull request #44 from emqx/otp26
Browse files Browse the repository at this point in the history
OTP 26
  • Loading branch information
zmstone authored Nov 28, 2023
2 parents 1b6f52d + be2de17 commit 504b771
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/eunit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
otp:
- 25.3.2-1
- 26.1.2-1
os:
- macos-12-arm64
runs-on: ${{ matrix.os }}
Expand All @@ -35,11 +35,11 @@ jobs:
fail-fast: false
matrix:
builder:
- 5.1-3
- 5.2-7
otp:
- 25.3.2-1
- 26.1.2-1
elixir:
- 1.14.5
- 1.15.7
os:
- ubuntu22.04

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
fail-fast: false
matrix:
otp:
- 25.3.2-1
- 25.3.2-2
- 26.1.2-1
os:
- macos-11
- macos-12
Expand Down Expand Up @@ -53,11 +54,8 @@ jobs:
fail-fast: false
matrix:
builder:
- 5.1-3
otp:
- 25.3.2-1
elixir:
- 1.14.5
- 5.1-3:1.14.5-25.3.2-1
- 5.2-7:1.15.7-26.1.2-1
arch:
- amd64
- arm64
Expand All @@ -78,7 +76,7 @@ jobs:
- alpine3.15.1
runs-on: ubuntu-latest
env:
IMAGE: ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.otp }}-${{ matrix.os }}
IMAGE: ghcr.io/emqx/emqx-builder/${{ matrix.builder }}-${{ matrix.os }}

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ endif

LIBJQ_NAME := $(LIBJQ_DIR)/$(LIBJQ)

ERTS_INCLUDE_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)]).")
ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~ts\", [code:lib_dir(erl_interface, include)]).")
ERTS_INCLUDE_DIR ?= $(shell erl -noshell -eval "io:format(\"~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)]), erlang:halt().")
ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -eval "io:format(\"~ts\", [code:lib_dir(erl_interface, include)]), erlang:halt().")
JQ_INCLUDE_DIR ?= $(JQSRC_DIR)/src
DS_INCLUDE_DIR ?= libs/c_reusable_data_structures

ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~ts\", [code:lib_dir(erl_interface, lib)]).")
ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -eval "io:format(\"~ts\", [code:lib_dir(erl_interface, lib)]), erlang:halt().")

PRIV_DIR = ../priv
C_SRC_DIR = ./
Expand Down
2 changes: 1 addition & 1 deletion test/jq_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ concurrent_queries_t_() ->
fun() ->
NrOfScheds = erlang:system_info(schedulers),
Qubes = qubes(NrOfScheds),
erlang:display_nl(),
io:format("~n", []),
[(ok = concurrent_queries_test(NrOfTestProcess, true, 500, 5000))
|| NrOfTestProcess <- Qubes],
ok = concurrent_queries_test(NrOfScheds, false, 0, 100),
Expand Down

0 comments on commit 504b771

Please sign in to comment.