Skip to content

Commit

Permalink
add fi
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Jan 29, 2025
1 parent 47b23c0 commit f4ba2f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
./configure \
CC=clang CXX=clang++ \
--enable-shared --disable-static --enable-fat --enable-cxx
fi
- name: Build GMP
run: |
Expand Down Expand Up @@ -118,6 +119,7 @@ jobs:
else
strip --strip-unneeded ${{ matrix.gmp_so }}
strip --strip-unneeded ${{ matrix.gmp_cpp_so }}
fi
- name: Compile C Program
run: |
Expand Down Expand Up @@ -146,6 +148,7 @@ jobs:
-I${{ github.workspace }}/gmp-${GMP_VERSION} \
-L${{ github.workspace }}/gmp-${GMP_VERSION}/.libs \
-lgmp
fi
- name: Run C Program
run: |
Expand All @@ -157,6 +160,7 @@ jobs:
echo "Skipping execution for Windows cross-compiled binary."
else
LD_LIBRARY_PATH=${{ github.workspace }}/gmp-${GMP_VERSION}/.libs ./factorial_gmp
fi
- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f4ba2f6

Please sign in to comment.