-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Combinatorica from this repository but include it as a git submodule from Mathics3-Combinatorical. As a by-product, version 2.0.0 of Combinatorica is also now available. An additional CI job is set up to run the Combinatorica tests that we have (currently for v0.9). These will be expanded soon. And possibly we may include v2.0.0 tests as well. To be determined if we want the one CI just to run tests for other packages as well.
- Loading branch information
Showing
8 changed files
with
55 additions
and
7,525 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Mathics3 Packages (ubuntu) | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: '**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.11'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install OS dependencies | ||
run: | | ||
sudo apt-get update -qq && sudo apt-get install -qq liblapack-dev llvm-dev tesseract-ocr remake | ||
- name: Install Mathics3 with full dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
# We can comment out after next Mathics-Scanner release | ||
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] | ||
cd src/mathics-scanner/ | ||
pip install -e . | ||
python -m mathics_scanner.generate.build_tables | ||
cd ../.. | ||
- name: Run Mathics3 Combinatorica tests | ||
run: | | ||
git submodule init | ||
git submodule update | ||
remake -x develop | ||
cd mathics/packages/Combinatorica-repo | ||
pip install -e .[dev] | ||
remake -x check |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "mathics/packages/Combinatorica-repo"] | ||
path = mathics/packages/Combinatorica-repo | ||
url = https://github.com/Mathics3/Mathics3-Combinatorica.git |
Submodule Combinatorica-repo
added at
680999
3,369 changes: 0 additions & 3,369 deletions
3,369
mathics/packages/DiscreteMath/CombinatoricaV0.6.m
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Combinatorica-repo/Combinatorica/CombinatoricaV0.6.m |
3,515 changes: 0 additions & 3,515 deletions
3,515
mathics/packages/DiscreteMath/CombinatoricaV0.9.m
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Combinatorica-repo/Combinatorica/CombinatoricaV0.9.m |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Combinatorica-repo/Combinatorica/CombinatoricaV2.0.0.m |
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
Oops, something went wrong.