Skip to content

Commit

Permalink
adding win CI
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Oct 24, 2024
1 parent f505979 commit 08c9ad0
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,48 +19,48 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
amd64-manylinux228-py311:
runs-on: ubuntu-latest
container:
image: pagmo2/manylinux228_x86_64_with_deps:latest
env:
PPNF_BUILD_TYPE: "Python311"
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
steps:
- uses: actions/checkout@v4
- name: Build
run: bash tools/gha_manylinux.sh
amd64-manylinux228-py310:
runs-on: ubuntu-latest
container:
image: pagmo2/manylinux228_x86_64_with_deps:latest
env:
PPNF_BUILD_TYPE: "Python310"
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
steps:
- uses: actions/checkout@v4
- name: Build
run: bash tools/gha_manylinux.sh
linux_release_py311:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: bash tools/gha_pygmo_plugins_nonfree_linux_py311.sh
linux_release_py312:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: bash tools/gha_pygmo_plugins_nonfree_linux_py312.sh
linux_release_py313:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: bash tools/gha_pygmo_plugins_nonfree_linux_py313.sh
# amd64-manylinux228-py311:
# runs-on: ubuntu-latest
# container:
# image: pagmo2/manylinux228_x86_64_with_deps:latest
# env:
# PPNF_BUILD_TYPE: "Python311"
# TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# steps:
# - uses: actions/checkout@v4
# - name: Build
# run: bash tools/gha_manylinux.sh
# amd64-manylinux228-py310:
# runs-on: ubuntu-latest
# container:
# image: pagmo2/manylinux228_x86_64_with_deps:latest
# env:
# PPNF_BUILD_TYPE: "Python310"
# TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# steps:
# - uses: actions/checkout@v4
# - name: Build
# run: bash tools/gha_manylinux.sh
# linux_release_py311:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Build
# run: bash tools/gha_pygmo_plugins_nonfree_linux_py311.sh
# linux_release_py312:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Build
# run: bash tools/gha_pygmo_plugins_nonfree_linux_py312.sh
# linux_release_py313:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Build
# run: bash tools/gha_pygmo_plugins_nonfree_linux_py313.sh
windows_2022_release:
runs-on: windows-2022
steps:
Expand All @@ -82,7 +82,7 @@ jobs:
cd build
cmake ../ -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX=C:\Miniconda\envs\ppnf_devel\Library -DPPNF_BUILD_CPP=yes -DPPNF_BUILD_TESTS=yes
cmake --build . -j4 --config Release --target install
cd test/Release
cd tests/Release
ctest -j4 -V -C Release --output-on-failure
cd ../../..
mkdir build_py
Expand Down

0 comments on commit 08c9ad0

Please sign in to comment.