Skip to content

Commit

Permalink
[feat]: Adding static tag to compile args and set tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed May 13, 2021
1 parent 2b5f986 commit 9ba4816
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on: [push]

jobs:
test-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python: [3.6, 3.7, 3.8]
runs-on: ${{ os.matrix }}

steps:
- uses: actions/checkout@v2
Expand Down
13 changes: 6 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@
with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()

atomic_program = Extension(
name="minushalf.atomic_program",
sources=[
"minushalf/atomic_program/atm_cGuima3.f",
"minushalf/atomic_program/atm_cGuima3.pyf",
],
)
atomic_program = Extension(name="minushalf.atomic_program",
sources=[
"minushalf/atomic_program/atm_cGuima3.f",
"minushalf/atomic_program/atm_cGuima3.pyf",
],
extra_compile_args=['-static'])

setup(
name="minushalf",
Expand Down

0 comments on commit 9ba4816

Please sign in to comment.