From 7ee97907176ac18f36db3323ffbe1ce1388f1d1c Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Thu, 4 Apr 2024 19:19:53 -0400 Subject: [PATCH] Update CI to only test on Linux --- .appveyor.yml | 34 --------------------- .cirrus.yml | 64 ++++++++++++++++++++-------------------- .github/workflows/CI.yml | 6 ++-- 3 files changed, 35 insertions(+), 69 deletions(-) delete mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 8eaedb7..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,34 +0,0 @@ -# Documentation: https://github.com/JuliaCI/Appveyor.jl -environment: - matrix: - - julia_version: 1.6 - - julia_version: 1.9 - - julia_version: nightly -platform: - - x64 - - x86 -cache: - - '%USERPROFILE%\.julia\artifacts' -matrix: - allow_failures: - - julia_version: nightly -branches: - only: - - main - - /release-.*/ -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false -install: - - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) -build_script: - - echo "%JL_BUILD_SCRIPT%" - - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" -test_script: - - echo "%JL_TEST_SCRIPT%" - - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" -on_success: - - echo "%JL_CODECOV_SCRIPT%" - - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%" diff --git a/.cirrus.yml b/.cirrus.yml index 38facc4..c9389a1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,32 +1,32 @@ -task: - matrix: - - name: FreeBSD - freebsd_instance: - image_family: freebsd-13-2 - env: - matrix: - - JULIA_VERSION: 1.6 - - JULIA_VERSION: 1 - - name: MacOS M1 - macos_instance: - image: ghcr.io/cirruslabs/macos-monterey-base:latest - env: - - JULIA_VERSION: 1 - install_script: | - URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh" - set -x - if [ "$(uname -s)" = "Linux" ] && command -v apt; then - apt update - apt install -y curl - fi - if command -v curl; then - sh -c "$(curl ${URL})" - elif command -v wget; then - sh -c "$(wget ${URL} -q -O-)" - elif command -v fetch; then - sh -c "$(fetch ${URL} -o -)" - fi - build_script: - - cirrusjl build - test_script: - - cirrusjl test +# task: +# matrix: +# - name: FreeBSD +# freebsd_instance: +# image_family: freebsd-13-2 +# env: +# matrix: +# - JULIA_VERSION: 1.6 +# - JULIA_VERSION: 1 +# - name: MacOS M1 +# macos_instance: +# image: ghcr.io/cirruslabs/macos-monterey-base:latest +# env: +# - JULIA_VERSION: 1 +# install_script: | +# URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh" +# set -x +# if [ "$(uname -s)" = "Linux" ] && command -v apt; then +# apt update +# apt install -y curl +# fi +# if command -v curl; then +# sh -c "$(curl ${URL})" +# elif command -v wget; then +# sh -c "$(wget ${URL} -q -O-)" +# elif command -v fetch; then +# sh -c "$(fetch ${URL} -o -)" +# fi +# build_script: +# - cirrusjl build +# test_script: +# - cirrusjl test diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8b55ac6..acff7a5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,15 +19,15 @@ jobs: fail-fast: false matrix: version: - - '1.6' + # - '1.6' - '1' - 'nightly' os: - ubuntu-latest - - windows-latest + # - windows-latest arch: - x64 - - x86 + # - x86 steps: - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v1