From daca52a7e1db0f76d9eb75dbc3263dd0d5b4c2bf Mon Sep 17 00:00:00 2001 From: bburns632 Date: Mon, 31 Aug 2026 22:06:00 -0500 Subject: [PATCH] [ci] migrate Windows builds from AppVeyor to GitHub Actions (#337) AppVeyor has not run a build in years and its README badge is broken. It bootstrapped travis-tool.sh from the abandoned krlmlr/r-appveyor repo, so it is not worth repairing. Windows coverage moves to the existing GitHub Actions CI matrix, which already runs windows-latest successfully in release.yml. The ubuntu-only tidy install is already gated on matrix.os, and the remaining r-lib actions are cross-platform, so no new steps are needed. - add windows-latest / R release to the ci.yml test matrix - delete appveyor.yml and its now-dead .Rbuildignore entry - drop the broken AppVeyor badge from the README - open a development section in NEWS.md Co-Authored-By: Claude Opus 5 (1M context) --- .Rbuildignore | 1 - .github/workflows/ci.yml | 2 ++ NEWS.md | 7 +++++ README.md | 1 - appveyor.yml | 56 ---------------------------------------- 5 files changed, 9 insertions(+), 58 deletions(-) delete mode 100644 appveyor.yml diff --git a/.Rbuildignore b/.Rbuildignore index 888351a3..111879cb 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,7 +9,6 @@ ^CODE_OF_CONDUCT\.md$ ^LICENSE\.MD$ ^.travis\.yml$ -^appveyor\.yml$ ^coverage.sh$ ^CONTRIBUTING\.md$ ^test\.sh$ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4dbfbf83..fe5c3de4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,8 @@ jobs: r-version: 'release' - os: macos-latest r-version: 'release' + - os: windows-latest + r-version: 'release' steps: - name: checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/NEWS.md b/NEWS.md index c7347331..569985cf 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,10 @@ +# development +## NEW FEATURES + +## CHANGES + +## BUGFIXES + # pkgnet 0.6.1 ## NEW FEATURES diff --git a/README.md b/README.md index eef45d9f..6b6d14b4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version-last-release/pkgnet)](https://cran.r-project.org/package=pkgnet) [![CRAN\_Download\_Badge](https://cranlogs.r-pkg.org/badges/grand-total/pkgnet)](https://cran.r-project.org/package=pkgnet) [![GitHub Actions Build Status](https://github.com/uptake/pkgnet/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/uptake/pkgnet/actions/workflows/ci.yml?query=branch%3Amain) -[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/github/uptake/pkgnet?branch=main&svg=true)](https://ci.appveyor.com/project/jameslamb/pkgnet) [![Lifecycle badge](https://lifecycle.r-lib.org/articles/figures/lifecycle-stable.svg)](https://lifecycle.r-lib.org/articles/stages.html) ## Introduction diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index eee82862..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,56 +0,0 @@ -# DO NOT CHANGE the "init" and "install" sections below -platform: x64 - -environment: - R_VERSION: stable - R_ARCH: x64 - GCC_PATH: mingw_64 - CRAN: https://cran.rstudio.com - #PKGTYPE: win.binary - USE_RTOOLS: true - -# Download script file from GitHub -init: - ps: | - $ErrorActionPreference = "Stop" - Invoke-WebRequest https://raw.github.com/krlmlr/r-appveyor/main/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1" - Import-Module '..\appveyor-tool.ps1' - -install: - ps: Bootstrap - -cache: - - C:\RLibrary - -# Adapt as necessary starting from here - -build_script: - - where gcc - - gcc --version - - travis-tool.sh install_deps - -test_script: - - travis-tool.sh run_tests - -on_failure: - - 7z a failure.zip *.Rcheck\* - - appveyor PushArtifact failure.zip - -artifacts: - - path: '*.Rcheck\**\*.log' - name: Logs - - - path: '*.Rcheck\**\*.out' - name: Logs - - - path: '*.Rcheck\**\*.fail' - name: Logs - - - path: '*.Rcheck\**\*.Rout' - name: Logs - - - path: '\*_*.tar.gz' - name: Bits - - - path: '\*_*.zip' - name: Bits