Make Enzyme the only compatible AD engine #1425
Workflow file for this run
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
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
tags: '*' | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.group == 'Downstream'}} | |
strategy: | |
fail-fast: false | |
matrix: | |
group: | |
- Core | |
version: | |
- '1.10' | |
- '1' | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
python-version: | |
- '3.10' | |
steps: | |
- name: Install Libs | |
run: | | |
sudo apt-get update | |
sudo apt-get install libhdf5-dev | |
sudo apt-get install --reinstall libxcb-xinerama0 | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: ${{ matrix.arch }} | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: actions/cache@v4 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-runtest@v1 | |
env: | |
GROUP: ${{ matrix.group }} | |
- uses: julia-actions/julia-processcoverage@v1 | |
with: | |
directories: src | |
- uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: false # or true if you want CI to fail when Codecov fails | |
file: lcov.info |