Skip to content

Commit 40bb540

Browse files
committed
ci: Run the check-install.sh script for linux/mingw/macos
1 parent 3a5b8dd commit 40bb540

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,27 @@ jobs:
223223
- name: Check archive content
224224
run: |
225225
./check-archive.sh
226+
227+
check-install:
228+
strategy:
229+
fail-fast: false
230+
matrix:
231+
include:
232+
- { runner: ubuntu-latest }
233+
- { runner: ubuntu-latest, params: mingw }
234+
- { runner: macos-latest }
235+
runs-on: ${{matrix.runner}}
236+
steps:
237+
- name: Install cross compiler
238+
if: ${{ matrix.params == 'mingw' }}
239+
run: |
240+
sudo apt-get update && sudo apt-get install g++-mingw-w64-x86-64
241+
- name: Install autotools
242+
if: ${{ startsWith(matrix.runner, 'macos') }}
243+
run: |
244+
brew install autoconf automake libtool
245+
- name: Checkout sources
246+
uses: actions/checkout@v4
247+
- name: Check install content
248+
run: |
249+
./check-install.sh ${{matrix.params}}

0 commit comments

Comments
 (0)