Skip to content

Fix superbuild for new version of F3D and VTK #1058

Fix superbuild for new version of F3D and VTK

Fix superbuild for new version of F3D and VTK #1058

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: '${{ github.workflow }}-${{ github.ref_name }}'
cancel-in-progress: true
jobs:
cache_lfs:
runs-on: ubuntu-latest
name: Update LFS data cache
outputs:
lfs_sha: ${{ steps.lfs_sha_recover.outputs.lfs_sha }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: 'source'
fetch-depth: 1
lfs: false
- name: Cache LFS Data
id: lfs_sha_recover
uses: f3d-app/lfs-data-cache-action@v1
with:
cache_postfix: cache-0
windows:
needs: cache_lfs
strategy:
fail-fast: false
matrix:
raytracing_label: [raytracing, no-raytracing]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: 'source'
submodules: true
lfs: false
- name: Build and package F3D
uses: ./source/.github/actions/f3d-superbuild/
with:
f3d_version: origin/master
raytracing_label: ${{matrix.raytracing_label}}
lfs_sha: ${{ needs.cache_lfs.outputs.lfs_sha}}
linux:
needs: cache_lfs
strategy:
fail-fast: false
matrix:
raytracing_label: [raytracing, no-raytracing]
runs-on: ubuntu-latest
container: ghcr.io/f3d-app/f3d-superbuild-ci
env:
DISPLAY: :0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: 'source'
submodules: true
lfs: false
- name: Build and package F3D
uses: ./source/.github/actions/f3d-superbuild/
with:
f3d_version: origin/master
raytracing_label: ${{matrix.raytracing_label}}
lfs_sha: ${{ needs.cache_lfs.outputs.lfs_sha}}
macos:
needs: cache_lfs
strategy:
fail-fast: false
matrix:
cpu: [x86_64, arm64]
raytracing_label: [raytracing, no-raytracing]
include:
- cpu: x86_64
macos: macos-13
- cpu: arm64
macos: macos-14
runs-on: ${{matrix.macos}}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: 'source'
submodules: true
lfs: false
- name: Build and package F3D
uses: ./source/.github/actions/f3d-superbuild/
with:
f3d_version: origin/master
raytracing_label: ${{matrix.raytracing_label}}
cpu: ${{matrix.cpu}}
lfs_sha: ${{ needs.cache_lfs.outputs.lfs_sha}}
python_wheels:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{matrix.os}}
env:
DISPLAY: :0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: 'source'
submodules: true
- name: Build python wheels
uses: ./source/.github/actions/wheels/