-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -384,6 +384,11 @@ jobs: | |
needs: pack | ||
if: needs.pack.outputs.c-code-changes | ||
|
||
strategy: | ||
matrix: | ||
flavor: [jit, emu] | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/[email protected] | ||
- uses: ./.github/actions/build-base-image | ||
|
@@ -392,7 +397,7 @@ jobs: | |
- name: Build Erlang/OTP flavors and types | ||
run: | | ||
TYPES="opt debug lcnt asan gcov valgrind" | ||
FLAVORS="emu jit" | ||
FLAVORS="${{ matrix.flavor }}" | ||
for TYPE in ${TYPES}; do | ||
for FLAVOR in ${FLAVORS}; do | ||
echo "::group::{TYPE=$TYPE FLAVOR=$FLAVOR}" | ||
|
@@ -404,19 +409,22 @@ jobs: | |
done | ||
done | ||
- name: Build Erlang/OTP JIT Win32 ABI | ||
if: ${{ matrix.flavor == 'jit' }} | ||
run: > | ||
docker run otp './configure CFLAGS="$CFLAGS -DERTS_JIT_ABI_WIN32=1" && | ||
make && make TYPE=debug && | ||
cerl -noshell -s init stop && cerl -debug -noshell -s init stop' | ||
- name: Build Erlang/OTP with LTTNG | ||
if: ${{ matrix.flavor == 'jit' }} | ||
run: > | ||
docker run otp 'sudo apt-get install -y lttng-tools && | ||
./configure --enable-dynamic-trace=lttng && | ||
make && make TYPE=debug && | ||
cerl -noshell -s init stop && cerl -debug -noshell -s init stop' | ||
- name: Start Erlang with various start options | ||
if: ${{ matrix.flavor == 'jit' }} | ||
run: | | ||
OPTIONS=("+JPperf true" "+JMsingle true" "+JDdump true") | ||
for OPTION in "${OPTIONS[@]}"; do | ||
|