Skip to content

[WIP] ENH: DAOS and DFS modules #467

[WIP] ENH: DAOS and DFS modules

[WIP] ENH: DAOS and DFS modules #467

Workflow file for this run

name: Build Wheels
on:
push:
branches:
- main
paths:
- darshan-util/**
- include/**
- .github/workflows/build_wheels.yml
pull_request:
branches:
- main
paths:
- darshan-util/**
- include/**
- .github/workflows/build_wheels.yml
workflow_dispatch:
jobs:
get_commit_message:
name: Get commit message
runs-on: ubuntu-latest
if: github.repository == 'darshan-hpc/darshan'
outputs:
message: ${{ steps.commit_message.outputs.message }}
steps:
- name: Checkout darshan
uses: actions/checkout@v3
# Gets the correct commit message for pull request
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Get commit message
id: commit_message
run: |
set -xe
COMMIT_MSG=$(git log --no-merges -1 --oneline)
echo "::set-output name=message::$COMMIT_MSG"
echo github.ref ${{ github.ref }}
build_wheels:
name: Build wheels on ${{ matrix.os }}
needs: get_commit_message
if: >-
contains(needs.get_commit_message.outputs.message, '[wheel build]') ||
github.event_name == 'workflow_dispatch'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-13]
steps:
- uses: actions/checkout@v2
- name: Build wheels
uses: pypa/[email protected]
with:
package-dir: ./darshan-util/pydarshan
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl