Skip to content

Commit

Permalink
New Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jbpezent committed Jul 8, 2024
1 parent c7fd3ee commit 6cb73ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 51 deletions.
52 changes: 2 additions & 50 deletions .github/workflows/pypi-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,58 +70,10 @@ jobs:
path: build/pypiwheel/asset_asrl/dist/*.whl
retention-days: 5

build_linux_fast:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04]
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12"]
compiler: ["clang-13"]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v3
with:
submodules: true


- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install Ubuntu dependencies
env:
COMPILER: ${{ matrix.compiler }}
run: bash $GITHUB_WORKSPACE/.github/install_ubuntu_dependencies.sh

- name: Add python requirements
run: python -m pip install --upgrade wheel setuptools && python -m pip install -r requirements.txt

- run: pip install patchelf auditwheel


- name: "Create build directory and run CMake"
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DPIP_INSTALL=True -DBUILD_ASSET_WHEEL=True

- name: "Build Project"
run: cmake --build build --target asset pypiwheel --config Release -- -j2

- name: Audit Wheel Test
run: auditwheel show build/pypiwheel/asset_asrl/dist/*.whl

- name: Audit Wheel Repair
run: auditwheel repair --plat manylinux_2_35_x86_64 build/pypiwheel/asset_asrl/dist/*.whl

- name: 'Upload Wheels'
uses: actions/upload-artifact@v3
with:
name: dist_${{ matrix.python-version }}_${{ matrix.platform }}
path: wheelhouse/*.whl
retention-days: 5


upload:
needs: [build_windows,build_linux_fast]
needs: [build_windows]
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(ASSET VERSION 0.5.0 LANGUAGES CXX)
project(ASSET VERSION 0.5.1 LANGUAGES CXX)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

set( CMAKE_MESSAGE_LOG_LEVEL "STATUS" )
Expand Down

0 comments on commit 6cb73ac

Please sign in to comment.