Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mingw64 build #4274

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 9 additions & 23 deletions .github/workflows/everything.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:

ubuntu:
needs: [format, git_checks]
if: needs.git_checks.outputs.num_code_changes > 0
if: false

runs-on: ubuntu-20.04
container:
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:

el8:
needs: [format, git_checks]
if: needs.git_checks.outputs.num_code_changes > 0
if: false

runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:

macos:
needs: [format, git_checks]
if: needs.git_checks.outputs.num_code_changes > 0
if: false

runs-on: ${{ matrix.image }}
env:
Expand Down Expand Up @@ -361,25 +361,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [win2019, win2022]
os: [win2022]
shared: [shared]
parallel: [msmpi]
include:
- os: win2019
image: windows-2019
compiler: vs2019
- os: win2022
image: windows-2022
compiler: vs2022
- os: win2022
image: windows-2022
compiler: vs2022
parallel: serial
- os: win2022
image: windows-2022
shared: static
compiler: vs2022
parallel: serial
parallel: [serial]
image: [windows-2022]
compiler: [mingw64]

defaults:
run:
Expand Down Expand Up @@ -411,7 +397,7 @@ jobs:

docker:
needs: [format, git_checks]
if: needs.git_checks.outputs.num_code_changes > 0
if: false

runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -476,7 +462,7 @@ jobs:
# standard container job.
contract:
needs: [format, git_checks, docker]
if: needs.git_checks.outputs.num_code_changes > 0
if: false

runs-on: ubuntu-latest
strategy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pypackaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
overwrite: true

build_wheels:
if: false
name: Wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down
15 changes: 15 additions & 0 deletions scripts/ci/cmake/ci-win2022-mingw64-serial.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
set(dashboard_cache "
BUILD_TESTING:BOOL=ON
ADIOS2_BUILD_EXAMPLES:BOOL=ON

ADIOS2_USE_BZip2:BOOL=OFF
ADIOS2_USE_Fortran:BOOL=OFF
ADIOS2_USE_MPI:BOOL=OFF
ADIOS2_USE_HDF5:STRING=ON
ADIOS2_USE_Python:BOOL=OFF
ADIOS2_USE_HDF5_VOL:STRING=OFF
")

set(CTEST_CMAKE_GENERATOR "MinGW Makefiles")
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}")
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake)
2 changes: 2 additions & 0 deletions scripts/ci/gh-actions/conda-env-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dependencies:
- numpy>=1.19
- python=3.10
- hdf5
- m2w64-dlfcn
- m2w64-toolchain
7 changes: 7 additions & 0 deletions scripts/ci/gh-actions/windows-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Write-Host "::group::Setup CONDA"
$Env:Path += ";$Env:CONDA\condabin"
conda.bat init powershell
conda.bat init bash
conda.bat update --all -y
conda.bat config --add channels conda-forge
conda.bat config --add channels msys2
conda.bat config --set channel_priority strict
Write-Host "::endgroup::"

Write-Host "::group::Installing common deps"
Expand All @@ -16,3 +20,6 @@ if($Env:GH_YML_MATRIX_PARALLEL -eq "msmpi")
conda.bat install -n adios2 -c conda-forge -y "msmpi" "mpi4py"
Write-Host "::endgroup::"
}

conda.bat list -n adios2
conda.bat info --verbose
Loading