Skip to content

Commit

Permalink
Merge pull request #143 from ederc/workflows
Browse files Browse the repository at this point in the history
Workflows
  • Loading branch information
ederc authored Jun 28, 2024
2 parents dd6a447 + f109dd5 commit a286a83
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/msolve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,26 @@ jobs:
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
./configure
elif [ "$RUNNER_OS" == "macOS" ]; then
./configure LDFLAGS="-L$(brew --prefix)/lib/" CFLAGS="-g -O2 -I$(brew --prefix)/include/"
else
echo "$RUNNER_OS not supported"
exit 1
fi
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
make distcheck
elif [ "$RUNNER_OS" == "macOS" ]; then
make distcheck LDFLAGS="-L$(brew --prefix)/lib/" CFLAGS="-g -O2 -I$(brew --prefix)/include/"
else
echo "$RUNNER_OS not supported"
exit 1
fi

0 comments on commit a286a83

Please sign in to comment.