Skip to content

Commit

Permalink
Merge pull request #7 from pyiron/updateconda
Browse files Browse the repository at this point in the history
Update CI action to use conda-forge
  • Loading branch information
jan-janssen authored Nov 11, 2020
2 parents bfea993 + 3bb30cd commit 603aebd
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 42 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v2
with:
update-conda: true
auto-update-conda: true
python-version: 3.7
conda-channels: anaconda, conda-forge
- run: conda install -y -c conda-forge constructor
- run: mkdir build
- run: constructor -v --output-dir=build --platform="linux-64" constructor
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="linux-64" constructor
- name: Load Release URL File from release job
uses: actions/download-artifact@v1
with:
Expand Down Expand Up @@ -76,15 +77,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v2
with:
update-conda: true
auto-update-conda: true
python-version: 3.7
conda-channels: anaconda, conda-forge
- run: conda install -y -c conda-forge constructor
- run: mkdir build
- run: constructor -v --output-dir=build --platform="osx-64" constructor
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="osx-64" constructor
- name: Load Release URL File from release job
uses: actions/download-artifact@v1
with:
Expand Down Expand Up @@ -112,15 +114,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v2
with:
update-conda: true
auto-update-conda: true
python-version: 3.7
conda-channels: anaconda, conda-forge
- run: conda install -y -c conda-forge constructor
- run: mkdir build
- run: constructor -v --output-dir=build --platform="win-64" constructor
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="win-64" constructor
- name: Load Release URL File from release job
uses: actions/download-artifact@v1
with:
Expand Down
45 changes: 24 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,44 +11,47 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v2
with:
update-conda: true
auto-update-conda: true
python-version: 3.7
conda-channels: anaconda, conda-forge
- run: conda install -y -c conda-forge constructor
- run: mkdir build
- run: constructor -v --output-dir=build --platform="linux-64" constructor
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="linux-64" constructor
build_mac:
name: MacOsX
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v2
with:
update-conda: true
auto-update-conda: true
python-version: 3.7
conda-channels: anaconda, conda-forge
- run: conda install -y -c conda-forge constructor
- run: mkdir build
- run: constructor -v --output-dir=build --platform="osx-64" constructor
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="osx-64" constructor
build_win:
name: Windows
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v2
with:
update-conda: true
auto-update-conda: true
python-version: 3.7
conda-channels: anaconda, conda-forge
- run: conda install -y -c conda-forge constructor
- run: mkdir build
- run: constructor -v --output-dir=build --platform="win-64" constructor
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="win-64" constructor

0 comments on commit 603aebd

Please sign in to comment.