Merge remote-tracking branch 'upstream/main' into dependency_manager_… #3162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: R | |
on: | |
workflow_call: | |
inputs: | |
override_git_describe: | |
type: string | |
git_ref: | |
type: string | |
skip_tests: | |
type: string | |
workflow_dispatch: | |
inputs: | |
override_git_describe: | |
type: string | |
git_ref: | |
type: string | |
skip_tests: | |
type: string | |
repository_dispatch: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
- '!feature' | |
paths-ignore: | |
- '**' | |
- '!.github/workflows/R.yml' | |
pull_request: | |
types: [opened, reopened, ready_for_review] | |
paths-ignore: | |
- '**' | |
- '!.github/workflows/R.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}-${{ inputs.override_git_describe }} | |
cancel-in-progress: true | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
OVERRIDE_GIT_DESCRIBE: ${{ inputs.override_git_describe }} | |
jobs: | |
rstats-windows-extensions: | |
# Builds extensions for windows_amd64_rtools | |
name: R Package Windows (Extensions) | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ inputs.git_ref }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: 'devel' | |
update-rtools: true | |
rtools-version: '42' # linker bug in 43 ^^ | |
- uses: ./.github/actions/build_extensions | |
with: | |
deploy_as: windows_amd64_rtools | |
duckdb_arch: windows_amd64_rtools | |
vcpkg_target_triplet: x64-mingw-static | |
treat_warn_as_error: 0 | |
s3_id: ${{ secrets.S3_ID }} | |
s3_key: ${{ secrets.S3_KEY }} | |
signing_pk: ${{ secrets.DUCKDB_EXTENSION_SIGNING_PK }} | |
override_cc: gcc | |
override_cxx: g++ | |
vcpkg_build: 1 | |
no_static_linking: 1 | |
run_tests: 0 | |
run_autoload_tests: 0 |