diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 1fe11f3..41473e3 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -1,13 +1,13 @@ name: "Build wheels and deploy" -on: - push: - tags: - - "*" # on: # push: -# branches: -# - main +# tags: +# - "*" +on: + push: + branches: + - main jobs: build: @@ -85,19 +85,19 @@ jobs: with: path: wheelhouse/*.whl - upload_all: - name: Upload if release - needs: [build_wheels, build_sdist] - runs-on: ubuntu-latest - if: github.event_name == 'release' && github.event.action == 'published' - steps: - - uses: actions/setup-python@v4 - with: - python-version: "3.x" - - uses: actions/download-artifact@v3 - with: - name: artifact - path: dist - - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_TOKEN }} + # upload_all: + # name: Upload if release + # needs: [build_wheels, build_sdist] + # runs-on: ubuntu-latest + # if: github.event_name == 'release' && github.event.action == 'published' + # steps: + # - uses: actions/setup-python@v4 + # with: + # python-version: "3.x" + # - uses: actions/download-artifact@v3 + # with: + # name: artifact + # path: dist + # - uses: pypa/gh-action-pypi-publish@master + # with: + # password: ${{ secrets.PYPI_TOKEN }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f18d74..c7438e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ project(adani VERSION 0.0) # define c++ standard and issue all the warning demanded by this standard set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -fPIC") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -fPIC -lgsl -lgslcblas -lm") enable_language(Fortran) set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fPIC")