diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index d738d34..56f0380 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -41,15 +41,17 @@ jobs: strategy: fail-fast: false matrix: - include: - - name: manylinux2014_x86_64-gfortran - compiler: gfortran - container: quay.io/pypa/manylinux2014_x86_64 - - name: manylinux2014_x86_64-f2c - compiler: f2c - container: quay.io/pypa/manylinux2014_x86_64 - - container: ${{ matrix.container }} + container: + [ + manylinux2014_x86_64, + manylinux2014_i686, + manylinux2014_aarch64, + manylinux2014_ppc64le, + manylinux2014_s390x, + ] + compiler: [gfortran, f2c] + + container: quay.io/pypa/${{ matrix.container }} steps: - run: git clone https://github.com/AWehrhahn/SMElib . - run: yum install -y zip python3-pip @@ -63,7 +65,7 @@ jobs: cd f2c cp ../makefile.u Makefile make - cp libf2c.a /usr/local/lib64/ + cp libf2c.a /usr/local/lib/ cd ../.. - name: Replace Makefile if: matrix.compiler == 'f2c' @@ -73,7 +75,7 @@ jobs: run: f2c -w -a -C++ -Nn1604 -Nq1200 -dsrc/eos/ src/eos/*.f & f2c -w -a -C++ -dsrc/sme/ src/sme/*.f - run: ./bootstrap && ./configure --prefix=$PWD - run: make install - - run: zip -r ${{ matrix.name }} lib share + - run: zip -r ${{ matrix.container }}-${{ matrix.compiler}} lib share - run: pip3 install -r test/requirements.txt - run: python3 -m pytest @@ -85,8 +87,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./${{ matrix.name }}.zip - asset_name: ${{ matrix.name }}.zip + asset_path: ./${{ matrix.container }}-${{ matrix.compiler}}.zip + asset_name: ${{ matrix.container }}-${{ matrix.compiler}}.zip asset_content_type: application/zip build: