Skip to content

Commit bee799e

Browse files
committed
Fixing dlib with github action
1 parent 6a67762 commit bee799e

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,11 @@ jobs:
3838
run: |
3939
pytest
4040
41+
- name: Commit and push the generated .dylib file
42+
run: |
43+
git config --local user.name "GitHub Action"
44+
git config --local user.email "action@github.com"
45+
git add ./loop_to_python_api/libLoopAlgorithmToPython.dylib
46+
git commit -m "Add generated libLoopAlgorithmToPython.dylib"
47+
git push origin HEAD:${{ github.ref }}
48+

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ DerivedData/
77
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
88
.netrc
99
.idea
10+
build/
11+
dist/
12+
loop_to_python_api.egg-info/
13+
loop_to_python_api/__pycache__/
14+
python_tests/__pycache__/
15+

0 commit comments

Comments
 (0)