Skip to content

Commit

Permalink
fix build: add submodule init
Browse files Browse the repository at this point in the history
  • Loading branch information
bpuchala committed Jul 17, 2024
1 parent 6c19c62 commit 5b28401
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential cmake
pip install --upgrade pip wheel build
git submodule update --init --recursive
echo "SKBUILD_BUILD_OPTIONS=${{ env.SKBUILD_BUILD_OPTIONS }}" >> "$GITHUB_ENV"
### libcasm-global ###
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-linux-cxx-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential cmake
pip install --upgrade pip wheel build
git submodule update --init --recursive
echo "SKBUILD_BUILD_OPTIONS=${{ env.SKBUILD_BUILD_OPTIONS }}" >> "$GITHUB_ENV"
### libcasm-global ###
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential cmake
pip install --upgrade pip wheel
git submodule update --init --recursive
echo "SKBUILD_BUILD_OPTIONS=${{ env.SKBUILD_BUILD_OPTIONS }}" >> "$GITHUB_ENV"
### libcasm-global ###
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
brew update
brew install cmake
pip install --upgrade pip wheel build
git submodule update --init --recursive
pip install -r test_requirements.txt
- name: make
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
brew update
brew install cmake
pip install --upgrade pip wheel
git submodule update --init --recursive
pip install -r test_requirements.txt
- name: make
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ build = "cp39-* cp310-* cp311-* cp312-*"
# Build for cpython only
skip = "pp*"

# Checkout submodules
before-all = "git submodule update --init --recursive"

# Need libcasm dependencies at wheel repair stage
before-build = "pip install -r build_requirements.txt"

Expand Down

0 comments on commit 5b28401

Please sign in to comment.