Skip to content

Commit

Permalink
Try3
Browse files Browse the repository at this point in the history
  • Loading branch information
niclaurenti committed Nov 10, 2023
1 parent 3fb22ca commit ce0fb0b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "Build wheels and deploy"

on:
push:
tags:
- "*"
# on:
# push:
# branches:
# - main
# tags:
# - "*"
on:
push:
branches:
- main

jobs:
build:
Expand Down Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit ce0fb0b

Please sign in to comment.