Skip to content

[codex] update overlap docs example and local resolve note #73

[codex] update overlap docs example and local resolve note

[codex] update overlap docs example and local resolve note #73

name: CI_with_latest_rust_backend
on:
push:
branches:
- main
pull_request:
branches:
- main
- develop_v2xx
workflow_dispatch:
schedule:
- cron: 0 0 * * 1
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
name: Latest Rust Backend / Julia ${{ matrix.version }} / ${{ matrix.os }} / ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- version: 'lts'
os: ubuntu-latest
arch: x64
- version: '1'
os: ubuntu-latest
arch: x64
- version: 'lts'
os: macOS-latest
arch: arm64
- version: '1'
os: macOS-latest
arch: arm64
# libsparseir is not yet tested on Windows
#- version: 'lts'
#os: windows-latest
#arch: x64
#- version: '1'
#os: windows-latest
#arch: x64
steps:
- name: Install OpenBLAS if ub
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
sudo apt-get update
sudo apt-get install -y libopenblas-dev pkg-config
fi
if [ "${{ matrix.os }}" = "macOS-latest" ]; then
brew install openblas pkg-config
fi
- name: Clone sparse-ir-rs
uses: actions/checkout@v6
with:
repository: SpM-lab/sparse-ir-rs
path: sparse-ir-rs
- name: Move sparse-ir-rs to parent directory
run: |
mv sparse-ir-rs ../sparse-ir-rs
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v3
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v6
docs:
name: Documentation
runs-on: ubuntu-latest
concurrency:
group: docs-deploy
cancel-in-progress: false
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}