From f7336b893a749f936466142158055278bc356e2d Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Mon, 24 Jun 2024 14:35:00 +0200 Subject: [PATCH] LOLA workflow --- .github/workflows/lola.yml | 23 +++++++++++++++++++++++ .github/workflows/nightly.yml | 1 - .github/workflows/stable.yml | 6 +++--- 3 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/lola.yml diff --git a/.github/workflows/lola.yml b/.github/workflows/lola.yml new file mode 100644 index 0000000..61f46ea --- /dev/null +++ b/.github/workflows/lola.yml @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e3ebf43..4de2dcc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,7 +1,6 @@ name: Nightly on: - push: schedule: - cron: '0 0 * * 5' diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 60b06e0..6d54386 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -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 }} @@ -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 }} @@ -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 }}