Skip to content

Commit

Permalink
more pinning to old versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Dec 14, 2022
1 parent 581a7fa commit 70aa002
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ fi
# a releasable artifact on Ubuntu 14.04
PACKAGE_CONSTRAINTS="dask-core distributed pandas numpy scipy"
if [[ $OS_NAME == "linux" ]] && [[ $COMPILER == "gcc" ]]; then
if [[ $TASK == "sdist" ]] || [[ $TASK == "regular" ]]; then
if [[ $TASK == "bdist" ]] || [[ $TASK == "regular" ]] || [[ $TASK == "mpi" ]]; then
PACKAGE_CONSTRAINTS="dask-core<=2022.7.1 distributed<=2022.7.1 libstdcxx-ng<12.0 numpy<=1.20.0 pandas<=1.4.1 scipy<=1.8.0"
fi
fi
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ jobs:
compiler: gcc
python_version: "3.10"
cuda_version: "9.0"
# task: cuda
# - method: source
# compiler: gcc
# python_version: "3.8"
# cuda_version: "11.7.1"
# task: cuda_exp
# - method: pip
# compiler: clang
# python_version: "3.9"
# cuda_version: "10.0"
# task: cuda_exp
task: cuda
- method: source
compiler: gcc
python_version: "3.8"
cuda_version: "11.7.1"
task: cuda_exp
- method: pip
compiler: clang
python_version: "3.9"
cuda_version: "10.0"
task: cuda_exp
steps:
- name: Setup or update software on host machine
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/r_configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
r-configure:
name: r-configure
timeout-minutes: 60
runs-on: ubuntu-latest
runs-on: 'ubuntuu-20.04'
container: "ubuntu:20.04"
steps:
- name: Install essential software before checkout
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/r_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@ jobs:
################
# CMake builds #
################
- os: ubuntu-latest
- os: ubuntu-20.04
task: r-package
compiler: gcc
r_version: 3.6
build_type: cmake
- os: ubuntu-latest
- os: ubuntu-20.04
task: r-package
compiler: gcc
r_version: 4.2
build_type: cmake
- os: ubuntu-latest
- os: ubuntu-20.04
task: r-package
compiler: clang
r_version: 3.6
build_type: cmake
- os: ubuntu-latest
- os: ubuntu-20.04
task: r-package
compiler: clang
r_version: 4.2
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
toolchain: MSYS
r_version: 4.2
build_type: cran
- os: ubuntu-latest
- os: ubuntu-20.04
task: r-package
compiler: gcc
r_version: 4.2
Expand All @@ -127,7 +127,7 @@ jobs:
################
# Other checks #
################
- os: ubuntu-latest
- os: ubuntu-20.04
task: r-rchk
compiler: gcc
r_version: 4.2
Expand All @@ -151,15 +151,15 @@ jobs:
CTAN_MIRROR: https://ctan.math.illinois.edu/systems/win32/miktex
TINYTEX_INSTALLER: TinyTeX
- name: Setup and run tests on Linux and macOS
if: matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest'
if: matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-20.04'
shell: bash
run: |
export TASK="${{ matrix.task }}"
export COMPILER="${{ matrix.compiler }}"
export GITHUB_ACTIONS="true"
if [[ "${{ matrix.os }}" == "macOS-latest" ]]; then
export OS_NAME="macos"
elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
elif [[ "${{ matrix.os }}" == "ubuntu-20.04" ]]; then
export OS_NAME="linux"
fi
export BUILD_DIRECTORY="$GITHUB_WORKSPACE"
Expand All @@ -181,9 +181,9 @@ jobs:
$env:TASK = "${{ matrix.task }}"
& "$env:GITHUB_WORKSPACE/.ci/test_windows.ps1"
test-r-sanitizers:
name: r-sanitizers (ubuntu-latest, R-devel, ${{ matrix.compiler }} ASAN/UBSAN)
name: r-sanitizers (ubuntu-20.04, R-devel, ${{ matrix.compiler }} ASAN/UBSAN)
timeout-minutes: 60
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container: wch1/r-debug
strategy:
fail-fast: false
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
test-r-debian-clang:
name: r-package (debian, R-devel, clang)
timeout-minutes: 60
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container: rhub/debian-clang-devel
steps:
- name: Install Git before checkout
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
fi
all-successful:
# https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [test, test-r-sanitizers, test-r-debian-clang]
steps:
- name: Note that all tests succeeded
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/r_valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
test-r-valgrind:
name: r-package (ubuntu-latest, R-devel, valgrind)
timeout-minutes: 300
runs-on: ubuntu-latest
runs-on: 'ubuntu-20.04'
container: wch1/r-debug
env:
SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }}
Expand Down
9 changes: 3 additions & 6 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,15 @@ jobs:
PYTHON_VERSION: '3.8'
inference:
TASK: if-else
PYTHON_VERSION: '3.8'
mpi_source:
TASK: mpi
METHOD: source
PYTHON_VERSION: '3.8'
gpu_source:
TASK: gpu
METHOD: source
PYTHON_VERSION: '3.8'
swig:
TASK: swig
PYTHON_VERSION: '3.8'
steps:
- script: |
echo "##vso[task.setvariable variable=BUILD_DIRECTORY]$BUILD_SOURCESDIRECTORY"
Expand Down Expand Up @@ -153,7 +150,7 @@ jobs:
OS_NAME: 'linux'
PRODUCES_ARTIFACTS: 'true'
pool:
vmImage: ubuntu-latest
vmImage: 'ubuntu-20.04'
timeoutInMinutes: 180
strategy:
matrix:
Expand Down Expand Up @@ -300,7 +297,7 @@ jobs:
###########################################
condition: not(startsWith(variables['Build.SourceBranch'], 'refs/pull/'))
pool:
vmImage: 'ubuntu-latest'
vmImage: 'ubuntu-20.04'
container: rbase
steps:
- script: |
Expand Down Expand Up @@ -331,7 +328,7 @@ jobs:
- R_artifact
condition: and(succeeded(), not(startsWith(variables['Build.SourceBranch'], 'refs/pull/')))
pool:
vmImage: 'ubuntu-latest'
vmImage: 'ubuntu-20.04'
steps:
# Create archives with complete source code included (with git submodules)
- task: ArchiveFiles@2
Expand Down

0 comments on commit 70aa002

Please sign in to comment.