Skip to content

Commit

Permalink
Run docker via bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Yngve S. Kristiansen committed Oct 17, 2023
1 parent e8f4b9c commit b43bdd9
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/bundle_with_dakota.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: 🏎️ Make Wheels 🏎️

on: [pull_request]

jobs:
build_wheels:
name: 🛞 Build Wheels 🛞
timeout-minutes: 60
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
mkdir /github/workspace/dist &&
ls /github/workspace &&
cp /github/workspace/dakota_manylinux_install_files/CMakeLists.txt /tmp &&
cp /github/workspace/dakota_manylinux_install_files/build_all_the_stuff.sh /tmp &&
ls /tmp &&
cd /tmp &&
sh build_all_the_stuff.sh "python${{ matrix.python-version }}" &&
echo "Hello" &&
echo "test" >> /github/workspace/dist/test
- name: Upload wheel as artifact
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }} Python ${{ matrix.python-version }} wheel
path: dist/*

0 comments on commit b43bdd9

Please sign in to comment.