Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-irfan authored Oct 6, 2023
1 parent ee3235a commit 23d4b57
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
using: composite
steps:
- name: Build and install libpoly
if: inputs.config-opt == '--enable-mcsat'
if: inputs.config-opt == '--enable-mcsat' && runner.os != 'Windows'
shell: bash
run: |
pushd .
Expand All @@ -26,7 +26,7 @@ runs:
sudo make install
popd
- name: Build and install CUDD
if: inputs.config-opt == '--enable-mcsat'
if: inputs.config-opt == '--enable-mcsat' && runner.os != 'Windows'
shell: bash
run: |
pushd .
Expand All @@ -39,11 +39,20 @@ runs:
sudo make install
popd
- name: Build and test Yices
if: runner.os != 'Windows'
shell: bash
run: >-
run: |
autoconf
#CFLAGS='-Werror' ${{ inputs.env }} ./configure ${{ inputs.config-opt }}
${{ inputs.env }} ./configure ${{ inputs.config-opt }}
# This is needed for yices2 to find libpoly.so.0. /usr/local/lib not searched by default?
export LD_LIBRARY_PATH=/usr/local/lib/:${LD_LIBRARY_PATH}
make MODE=${{ inputs.mode }}
- name: Build and test Yices
if: runner.os == 'Windows'
shell: bash
run: >-
autoconf
${{ inputs.env }} ./configure ${{ inputs.config-opt }}
export LD_LIBRARY_PATH=/usr/local/lib/:${LD_LIBRARY_PATH}
make MODE=${{ inputs.mode }}

0 comments on commit 23d4b57

Please sign in to comment.