Skip to content

Commit 44759c5

Browse files
committed
Test autoconf and make in GitHub Actions
1 parent b6a90d8 commit 44759c5

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/build-test.yml

+19-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
analyzer: off
2121
sanitizer: address,undefined
2222
- os: macos-12
23+
packages: automake
2324
build_type: Debug
2425
build_tool_options: -j 4
2526
analyzer: off
@@ -51,12 +52,18 @@ jobs:
5152
run: |
5253
$python_base = python -m site --user-base
5354
Write-Output "$python_base\\bin" >> $GITHUB_PATH
54-
- uses: msys2/setup-msys2@v2
55+
- name: 'Install macOS packages'
56+
if: runner.os == 'macOS'
57+
shell: bash
58+
run: |
59+
brew install ${{matrix.packages}}
60+
- name: 'Install MSYS2 packages'
61+
uses: msys2/setup-msys2@v2
5562
if: runner.os == 'Windows' && matrix.generator == 'MinGW Makefiles'
5663
with:
5764
update: false
5865
release: false
59-
install: make gcc
66+
install: make gcc base-devel autotools autoconf-wrapper
6067
- name: 'Workaround for actions/runner-images#9491'
6168
if: runner.os == 'Linux'
6269
run: sudo sysctl vm.mmap_rnd_bits=28
@@ -113,3 +120,13 @@ jobs:
113120
cd build
114121
ctest -j 4 --output-on-failure -T test -C ${BUILD_TYPE:-RelWithDebInfo}
115122
ZONE_KERNEL=fallback ctest -j 4 --output-on-failure -T test -C ${BUILD_TYPE:-RelWithDebInfo}
123+
- name: 'Build simdzone with configure + make'
124+
if: runner.os != 'Windows'
125+
id: test_autoconf
126+
shell: bash
127+
run: |
128+
set -e -x
129+
echo $PATH
130+
autoreconf -i
131+
./configure
132+
make -j 2

0 commit comments

Comments
 (0)