From f93e8a0bab855bc4e173ec093a49956fe291d44a Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Mon, 18 Sep 2023 21:03:04 +0400 Subject: [PATCH] Added test builds. Signed-off-by: Pavel Kirilin --- .github/workflows/ttest.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ttest.yml diff --git a/.github/workflows/ttest.yml b/.github/workflows/ttest.yml new file mode 100644 index 0000000..1d7adec --- /dev/null +++ b/.github/workflows/ttest.yml @@ -0,0 +1,33 @@ +name: Testing builds + +on: + push: + +permissions: + contents: write + +jobs: + linux: + runs-on: ubuntu-latest + strategy: + matrix: + target: [x86_64, x86, aarch64, armv7, ppc64le] # Also can be enabled: s390x (gnu) + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Instal OpenSSL + run: sudo apt-get update -y && sudo apt-get install -y libssl-dev openssl pkg-config gcc-multilib + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.target }} + manylinux: auto + container: "off" + args: --release --out dist + - name: Upload wheels + uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist \ No newline at end of file