Simplify packaging, add create project smoke test. New license target.

This commit is contained in:
Dion Moult
2021-09-03 14:11:15 +10:00
parent 81b0442abe
commit b71684955d
25 changed files with 400 additions and 205 deletions
+4 -3
View File
@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
- name: Install C++ dependencies
run: |
sudo apt update
sudo apt-get install --no-install-recommends \
@@ -68,16 +68,17 @@ jobs:
sudo make -j $(nproc)
sudo make install
- name: install dependencies
- name: Install Python dependencies
run: |
sudo /usr/bin/python -m pip install -U pip
sudo /usr/bin/python -m pip install xmlschema numpy lxml
sudo /usr/bin/python -m pip install src/bcf
sudo /usr/bin/python -m pip install pytest
- name: Test
run: |
cd test
sudo /usr/bin/python tests.py
cd ../src/ifcopenshell-python
sudo /usr/bin/python -m pip install pytest
mv ifcopenshell ifcopenshell-local # Force testing on installed module
make test