From e9398b1155d94959aef349b3b8ee4908fef2e4b5 Mon Sep 17 00:00:00 2001 From: Alexander Druz Date: Wed, 7 Feb 2024 08:36:35 +0100 Subject: [PATCH] Test Issue 5 --- .github/workflows/issue-5.yml | 59 +++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .github/workflows/issue-5.yml diff --git a/.github/workflows/issue-5.yml b/.github/workflows/issue-5.yml new file mode 100644 index 0000000..92f35a2 --- /dev/null +++ b/.github/workflows/issue-5.yml @@ -0,0 +1,59 @@ +name: Issue 5 +on: push + +jobs: + # Setup matrix + setup-matrix: + runs-on: ubuntu-latest + outputs: + matrix: ${{ steps.setup-matrix.outputs.matrix }} + steps: + - id: setup-matrix + uses: druzsan/setup-matrix@feature/use-python-dockerfile + with: + include: | + - os: linux + cpu: amd64 + run-on: ubuntu-latest + shell: bash -e + - os: macos + cpu: amd64 + run-on: macos-latest + shell: bash -e + - os: windows + cpu: amd64 + run-on: windows-latest + shell: msys2 + + # Setup python and print version + build: + needs: setup-matrix + strategy: + matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }} + runs-on: ${{ matrix.run-on }} + name: '${{ matrix.os }}-${{ matrix.cpu }}-${{ matrix.shell }}' + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + build-builtin: + strategy: + matrix: + include: + - os: linux + cpu: amd64 + run-on: ubuntu-latest + shell: bash -e + - os: macos + cpu: amd64 + run-on: macos-latest + shell: bash -e + - os: windows + cpu: amd64 + run-on: windows-latest + shell: msys2 + runs-on: ${{ matrix.run-on }} + name: '${{ matrix.os }}-${{ matrix.cpu }}-${{ matrix.shell }}' + steps: + - name: Checkout sources + uses: actions/checkout@v4