Skip to content

Commit

Permalink
For cross platform build, checkout submodules and build parallel.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Aug 22, 2024
1 parent c342f70 commit 8050c3f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/analysis_ports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: false
submodules: recursive
- name: cross-platform-action on ${{ matrix.cross_platform_os }} ${{ matrix.cross_platform_version }}
if: ${{ matrix.with_cross_platform_action == 'yes' }}
uses: cross-platform-actions/action@v0.25.0
Expand All @@ -76,27 +76,28 @@ jobs:
./configure ${{ matrix.cross_platform_config }}
echo "::endgroup::"
echo "::group::make"
make
make -j2
echo "::endgroup::"
echo "::group::make cutest; ./cutest"
make cutest
make -j2 cutest
./cutest
echo "::endgroup::"
- name: configure
if: ${{ matrix.config != 'no' }}
run: |
set -e -x
autoconf && autoheader
(cd simdzone && autoconf && autoheader)
libtoolize -c -i || glibtoolize -c -i
./configure ${{ matrix.config }}
- name: make
if: ${{ matrix.make != 'no' }}
run: make
run: make -j2
- name: make cutest; ./cutest
if: ${{ matrix.make_test == 'yes' }}
run: |
set -e -x
make cutest
make -j2 cutest
./cutest
- name: clang-analysis
if: ${{ matrix.clang_analysis == 'yes' }}
Expand Down

0 comments on commit 8050c3f

Please sign in to comment.