Skip to content

Commit

Permalink
add build library workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 committed Jul 30, 2024
1 parent c82b243 commit 3925615
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/build_libraries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build Host C++ / Python Libraries

on:
pull_request:
branches: [main]
push:
branches: [main]
release:
types: [published]
workflow_dispatch:

jobs:
build_linux:

runs-on: ubuntu-latest
continue-on-error: false

steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: Build libraries
working-directory: lib/
run: |
./build.sh
build_macos:

runs-on: macos-latest
continue-on-error: false

steps:
- name: Setup XCode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: Build libraries
working-directory: lib/
run: |
./build.sh

0 comments on commit 3925615

Please sign in to comment.