Add support for differentiation of immediate functions #1735
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: 'Arch' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
architecture: | |
strategy: | |
matrix: | |
target: [x86] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: "Setup latest Alpine Linux" | |
uses: jirutka/setup-alpine@v1 | |
with: | |
arch: ${{ matrix.target }} | |
branch: edge | |
packages: > | |
llvm17-dev | |
clang17-dev | |
clang17-static | |
clang17-extra-tools | |
llvm17-static | |
llvm17-gtest | |
cmake | |
make | |
git | |
- name: "Setup" | |
run: | | |
make --version | |
shell: alpine.sh {0} | |
- name: "Compile library" | |
run: | | |
export CC=/usr/bin/clang-17 | |
export CXX=/usr/bin/clang++-17 | |
mkdir build && cd build | |
cmake -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad | |
make -j 8 check-clad | |
shell: alpine.sh {0} | |
- name: Setup tmate session | |
if: ${{ failure() && runner.debug }} | |
uses: mxschmitt/action-tmate@v3 | |
# When debugging increase to a suitable value! | |
timeout-minutes: 30 |