Skip to content

Commit

Permalink
CI: Add first example of GitHub action to replace Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-wagner committed Nov 8, 2024
1 parent 76510eb commit 1245b9a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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:
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

0 comments on commit 1245b9a

Please sign in to comment.