Skip to content

Commit

Permalink
test configure script with dash in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberTailor authored and sjaeckel committed Nov 12, 2022
1 parent a60d2ea commit c9f3cf6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,16 @@ jobs:
name: Check if release would work
steps:
- uses: actions/checkout@v2
- name: install dependencies
- name: install dependencies & bootstrap
run: |
sudo apt update
sudo apt install -y libtool pkg-config libexpat1-dev
- name: Setup the library
run: |
sudo apt install -y libtool pkg-config libexpat1-dev dash
./bootstrap.sh
- name: Check if configure works with non-bash shells
run: |
[ "`CONFIG_SHELL=/bin/dash ./configure 2>&1 1>/dev/null | tee /dev/tty | wc -l`" = "0" ]
- name: Re-run configure with the default shell
run: |
./configure
- name: Try release & tests
run: |
Expand Down

0 comments on commit c9f3cf6

Please sign in to comment.