CI: Fetch complete git history #2
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: pyGIMLi CI | |
env: | |
# Current bug in openblas core detection: https://stackoverflow.com/a/66057286 | |
OPENBLAS_CORETYPE: ARMV8 | |
GIMLI_NUM_THREADS: 4 | |
OMP_THREAD_LIMIT: 4 | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
pgcore: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # checks out all branches and tags | |
path: source | |
- name: Running cmake | |
run: | | |
mkdir -p build | |
cd build | |
cmake ../source | |
- name: Build gimli | |
run: make -j 8 gimli | |
- name: Build python bindings | |
run: make pygimli J=4 |