From 677852a41034b6da959e17ecb86073029cace738 Mon Sep 17 00:00:00 2001 From: Matteo Cafasso Date: Wed, 30 Aug 2023 23:39:51 +0300 Subject: [PATCH] actions: add Manylinux build job Signed-off-by: Matteo Cafasso --- .github/workflows/action.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index b8bc34b..14bc133 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,7 +1,7 @@ name: CLIPSPy build job on: [push, pull_request] jobs: - build: + test: runs-on: ubuntu-latest strategy: matrix: @@ -22,3 +22,18 @@ jobs: - name: Run tests run: | make test + build-manylinux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build Manylinux Container + run: | + docker build -t clipspy-build-wheels:latest -f manylinux/Dockerfile . + - name: Build Manylinux packages + run: | + docker run --rm -v `pwd`/manylinux/wheelhouse:/io/wheelhouse clipspy-build-wheels:latest + - name: Store build artifacts + uses: actions/upload-artifact@v3 + with: + name: manylinux-build + path: manylinux/wheelhouse