From 046640717d8f0eb88bae9d398cae065590bfabea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Brito?= <50997716+antmsbrito@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:25:51 +0100 Subject: [PATCH] Testing GHA for linux wheels --- .github/workflows/build_linux.yml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build_linux.yml diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml new file mode 100644 index 00000000..03480143 --- /dev/null +++ b/.github/workflows/build_linux.yml @@ -0,0 +1,32 @@ +name: Ubuntu Wheel Maker + +on: workflow_dispatch + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v3 + - name: Fetch all history for all tags and branches + run: git fetch --prune --unshallow + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest build pipx + pip install -e ".[test]" + + - name: Build wheels and stdist + run: | + nox --session build_wheel-${{ matrix.python-version }} test_wheel-${{ matrix.python-version }} + - uses: actions/upload-artifact@v3 + with: + name: wheels + path: wheelhouse/ \ No newline at end of file