Julia 1.13+: Use safe_realpath(manifest_rel_path(...)) instead of project_rel_path(...)
#259
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| tags: ["*"] | |
| pull_request: | |
| concurrency: | |
| # Skip intermediate builds: all builds except for builds on the `main` branch | |
| # Cancel intermediate builds: only pull request builds | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - '1.0' | |
| - '1.1' | |
| - '1.2' | |
| - '1.3' | |
| - '1.4' | |
| - '1.5' | |
| - '1.6' | |
| - '1.7' | |
| - '1.8' | |
| - '1.9' | |
| - '1.10' | |
| - '1.11' | |
| - '1.12' | |
| - '1.13-nightly' # TODO: Change this to '1.13' once Julia 1.13.0 has been released | |
| - 'nightly' | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| - macos-latest # Apple Silicon macOS | |
| - macos-15-intel # Intel macOS | |
| julia-wordsize: | |
| - '32' | |
| - '64' | |
| exclude: | |
| # macOS does not support 32-bit builds of Julia | |
| - os: macos-latest | |
| julia-wordsize: '32' | |
| - os: macos-15-intel | |
| julia-wordsize: '32' | |
| # Native Julia builds for Apple Silicon macOS are only available for Julia 1.8 and later | |
| - os: macos-latest | |
| version: '1.0' | |
| - os: macos-latest | |
| version: '1.1' | |
| - os: macos-latest | |
| version: '1.2' | |
| - os: macos-latest | |
| version: '1.3' | |
| - os: macos-latest | |
| version: '1.4' | |
| - os: macos-latest | |
| version: '1.5' | |
| - os: macos-latest | |
| version: '1.6' | |
| - os: macos-latest | |
| version: '1.7' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.version }} | |
| # If `julia-wordsize` is 32, then set the Julia arch to x76 | |
| # If `julia-wordsize` is 64, then set the Julia arch to ${{ runner.arch }} | |
| # ${{ runner.arch }} automatically expands to the correct 64-bit value, either X64 or ARM64 | |
| arch: ${{ (matrix.julia-wordsize == '32') && 'x86' || runner.arch }} | |
| - uses: julia-actions/cache@v2 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| file: lcov.info | |
| token: ${{ secrets.CODECOV_TOKEN }} |