Skip to content

Add HDF5 1.12.3

Add HDF5 1.12.3 #830

Workflow file for this run

name: Build and test webR
on:
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
build-webr:
runs-on: ubuntu-latest
container: ghcr.io/r-wasm/flang-wasm:main
steps:
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- uses: actions/checkout@v4
- name: Configure webR for flang
env:
EMFC: /opt/flang/host/bin/flang-new
run: ./configure
- name: Setup Emscripten PATH
run: echo "/opt/emsdk:/opt/emsdk/upstream/emscripten" >> $GITHUB_PATH
- name: Set Emscripten EM_NODE_JS
run: echo "EM_NODE_JS=$(which node)" >> $GITHUB_ENV
- name: Build webR
env:
EMSDK: /opt/emsdk
run: make && make check-pr
shell: bash
- name: Workaround for codecov/feedback#263
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Report code coverage
uses: codecov/codecov-action@v4
with:
files: src/coverage/lcov.info
flags: unittests
name: codecov-webr
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CC_TOKEN }}
build-docker:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Obtain git ref
id: ref
run: |
if [ ${{ github.event.pull_request.head.sha }} ]; then
REPO="https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git"
SHA="${{ github.event.pull_request.head.sha }}"
else
REPO="https://github.com/${{ github.repository }}.git"
SHA="${{ github.sha }}"
fi
echo "repo: $REPO"
echo "repo=$REPO" >> $GITHUB_OUTPUT
echo "sha: $SHA"
echo "sha=$SHA" >> $GITHUB_OUTPUT
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
build-args: |
WEBRCI_REPO=${{ steps.ref.outputs.repo }}
WEBRCI_SHA=${{ steps.ref.outputs.sha }}
MAKE_LIBS_TARGET=default
build-nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: "sandbox = false"
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build Nix package
run: nix build --print-build-logs