Skip to content

Make pip wheel with Dakota+Carolina #73

Make pip wheel with Dakota+Carolina

Make pip wheel with Dakota+Carolina #73

name: 🏎️ Make Wheels 🏎️
on: [pull_request]
jobs:
build_wheels:
name: πŸ›ž Build Wheels πŸ›ž
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build Linux Wheel
uses: docker://quay.io/pypa/manylinux2014_x86_64
with:
entrypoint: /bin/bash
args: '-c "sh dakota_manylinux_install_files/build_wheels_gha.sh"'
- name: Test Linux Wheel on ManyLinux docker
uses: docker://quay.io/pypa/manylinux2014_x86_64
env:
DEPENDENCY_ACCESS_TOKEN: ${{ secrets.DEPENDENCY_ACCESS_TOKEN }}
NO_PROJECT_RES: 1
ERT_SHOW_BACKTRACE: 1
QT_QPA_PLATFORM: 'minimal'
with:
entrypoint: /bin/bash
args: '-c "sh dakota_manylinux_install_files/test_wheels_gha.sh"'
- name: Test Linux Wheel on Linux
env:
DEPENDENCY_ACCESS_TOKEN: ${{ secrets.DEPENDENCY_ACCESS_TOKEN }}
NO_PROJECT_RES: 1
ERT_SHOW_BACKTRACE: 1
QT_QPA_PLATFORM: 'minimal'
run: sh dakota_manylinux_install_files/test_wheels_gha.sh
- name: Upload wheel as artifact
if: always()
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }} Python ${{ matrix.python-version }} wheel
path: |
dist/*
trace/*