Skip to content

Add primitive support of reverse-mode constructor custom derivatives… #49

Add primitive support of reverse-mode constructor custom derivatives…

Add primitive support of reverse-mode constructor custom derivatives… #49

Workflow file for this run

---
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