Skip to content

Commit

Permalink
LOLA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jun 25, 2024
1 parent f98ff7a commit f7336b8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lola.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: LOLA

on:
push:

jobs:
mingw:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1.24dev']
abi: [cp310, cp311, cp312]
steps:
- uses: actions/checkout@v4
- name: Build
run: |
docker pull openturns/archlinux-mingw
docker run --rm -e MAKEFLAGS='-j2' -v `pwd`:/io openturns/archlinux-mingw /io/build-wheels-mingw.sh jschueller lola ${{ matrix.abi }}
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/LOLA')
with:
files: wheelhouse/openturns-${{ matrix.version }}-${{ matrix.abi }}-${{ matrix.abi }}-win_amd64.whl
1 change: 0 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Nightly

on:
push:
schedule:
- cron: '0 0 * * 5'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
miniforge-version: latest
- name: Upload
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v')
shell: bash -l {0}
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
Expand All @@ -40,7 +40,7 @@ jobs:
with:
miniforge-version: latest
- name: Upload
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v')
shell: bash -l {0}
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
Expand All @@ -64,7 +64,7 @@ jobs:
with:
miniforge-version: latest
- name: Upload
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v')
shell: bash -l {0}
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
Expand Down

0 comments on commit f7336b8

Please sign in to comment.