forked from duckdb/duckdb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request duckdb#9302 from hannes/bring-back-rstats-windows-…
…extensions Re-add windows extension builds for R
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: R | ||
on: | ||
workflow_dispatch: | ||
repository_dispatch: | ||
push: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
||
jobs: | ||
rstats-windows-extensions: | ||
# Builds extensions for windows_amd64_rtools | ||
name: R Package Windows (Extensions) | ||
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: 'devel' | ||
update-rtools: true | ||
rtools-version: '42' # linker bug in 43 ^^ | ||
|
||
- name: Setup Ccache | ||
uses: hendrikmuhs/ccache-action@main | ||
with: | ||
key: ${{ github.job }} | ||
save: ${{ github.ref == 'refs/heads/main' || github.repository != 'duckdb/duckdb' }} | ||
|
||
- uses: ./.github/actions/build_extensions | ||
with: | ||
deploy_as: windows_amd64_rtools | ||
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++ | ||
openssl_path: C:/rtools43/x86_64-w64-mingw32.static.posix # not sure if this is required, there seems to be an openssl there | ||
run_tests: 0 | ||
run_autoload_tests: 0 | ||
build_out_of_tree_extensions: 0 | ||
vcpkg_build: 0 | ||
no_static_linking: 1 |