diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml deleted file mode 100755 index cd482d0..0000000 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ /dev/null @@ -1,32 +0,0 @@ -# -*- mode: yaml -*- -parameters: -- name: UPLOAD_PACKAGES - type: string - default: 'False' - -jobs: -- job: conda_linux64 - pool: - vmImage: ubuntu-latest - strategy: - matrix: - linux_64: - CONFIG: linux_64 - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 - UPLOAD_PACKAGES: ${{ parameters.UPLOAD_PACKAGES }} - timeoutInMinutes: 360 - - steps: - - script: | - rm -rf /opt/ghc - df -h - displayName: Manage disk space - - - script: | - export CI=azure - export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME - export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) - .scripts/run_docker_build.sh - displayName: Run docker build - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) \ No newline at end of file diff --git a/.azure-pipelines/azure-pipelines-manual.yml b/.azure-pipelines/azure-pipelines-manual.yml deleted file mode 100644 index ca0c864..0000000 --- a/.azure-pipelines/azure-pipelines-manual.yml +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - - name: upload_to_anaconda - displayName: Upload to Anaconda? - type: string - default: 'False' - -trigger: none - -jobs: - - template: azure-pipelines-linux.yml - parameters: - UPLOAD_PACKAGES: ${{ parameters.upload_to_anaconda }} - - template: azure-pipelines-win.yml - parameters: - UPLOAD_PACKAGES: ${{ parameters.upload_to_anaconda }} - - template: azure-pipelines-osx.yml - parameters: - UPLOAD_PACKAGES: ${{ parameters.upload_to_anaconda }} \ No newline at end of file diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml deleted file mode 100755 index 6dfaba0..0000000 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ /dev/null @@ -1,27 +0,0 @@ -# -*- mode: yaml -*- - -parameters: -- name: UPLOAD_PACKAGES - type: string - default: 'False' - -jobs: -- job: conda_osx64 - pool: - vmImage: macOS-latest - strategy: - matrix: - osx_64: - CONFIG: osx_64 - UPLOAD_PACKAGES: ${{ parameters.UPLOAD_PACKAGES }} - timeoutInMinutes: 360 - - steps: - - script: | - export CI=azure - export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME - export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) - ./.scripts/run_osx_build.sh - displayName: Run OSX build - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) \ No newline at end of file diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml deleted file mode 100755 index d233d98..0000000 --- a/.azure-pipelines/azure-pipelines-win.yml +++ /dev/null @@ -1,62 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- -parameters: -- name: UPLOAD_PACKAGES - type: string - default: 'False' - -jobs: -- job: conda_win64 - pool: - vmImage: $(imageName) - strategy: - matrix: - vs2019: - imageName: windows-2019 - CONFIG: win_64 - UPLOAD_PACKAGES: ${{ parameters.UPLOAD_PACKAGES }} - timeoutInMinutes: 360 - variables: - CONDA_BLD_PATH: D:\\bld\\ - - steps: - - task: CondaEnvironment@1 - inputs: - packageSpecs: 'python=3.6 conda-build conda "conda-forge-ci-setup=3" anaconda-client pip' # Optional - installOptions: "-c conda-forge" - updateConda: true - displayName: Install conda-build and activate environment - - - script: set PYTHONUNBUFFERED=1 - displayName: Set PYTHONUNBUFFERED - - # Configure the VM - - script: | - call activate base - setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml - displayName: conda-forge CI setup - - # Configure the VM. - - script: | - set "CI=azure" - call activate base - run_conda_forge_build_setup - displayName: conda-forge build setup - - - script: | - call activate base - conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml - displayName: Build recipe - env: - PYTHONUNBUFFERED: 1 - - - script: | - set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" - set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" - call activate base - upload_package .\ ".\recipe" .ci_support\%CONFIG%.yaml - displayName: Upload package - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) - condition: and(succeeded(), not(eq(variables['UPLOAD_PACKAGES'], 'False'))) \ No newline at end of file diff --git a/.github/workflows/binary.yml b/.github/workflows/binary.yml index 8c81b1d..1dff538 100644 --- a/.github/workflows/binary.yml +++ b/.github/workflows/binary.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true @@ -51,7 +51,7 @@ jobs: run: cmake --build . --config $BUILD_TYPE - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }} retention-days: 1 @@ -72,17 +72,17 @@ jobs: runs-on: ubuntu-latest needs: [build] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ubuntu-latest path: ubuntu - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: macos-latest path: macos - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: windows-latest path: windows @@ -90,7 +90,7 @@ jobs: - name: List files run: ls -R - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: bin64 path: ${{github.workspace}}/** diff --git a/.github/workflows/binary_debug.yml b/.github/workflows/binary_debug.yml index 6b81bd9..49aebdc 100644 --- a/.github/workflows/binary_debug.yml +++ b/.github/workflows/binary_debug.yml @@ -25,7 +25,7 @@ jobs: - name: Input run: echo "${{ github.event.inputs.os }} ${{ github.event.inputs.compiler }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true diff --git a/.github/workflows/mkdoc.yml b/.github/workflows/mkdoc.yml index c397db6..88e2a5f 100644 --- a/.github/workflows/mkdoc.yml +++ b/.github/workflows/mkdoc.yml @@ -9,8 +9,8 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x - run: pip install mkdocs-material diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index 5209f76..40c97b4 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -18,11 +18,11 @@ jobs: name: Build SDist runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 - name: Install deps run: python -m pip install twine build @@ -33,7 +33,7 @@ jobs: - name: Check metadata run: twine check dist/* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz @@ -47,7 +47,7 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true @@ -58,7 +58,7 @@ jobs: brew install openblas - name: Build wheel - uses: pypa/cibuildwheel@v2.12.3 + uses: pypa/cibuildwheel@v2 env: # Python 2.7 on Windows requires a workaround for C++11 support, # built separately below @@ -69,7 +69,7 @@ jobs: shell: bash - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: wheelhouse/*.whl @@ -82,12 +82,12 @@ jobs: steps: - uses: actions/setup-python@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@v1.8.5 + - uses: pypa/gh-action-pypi-publish@v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}