From 41245648c8ba6a82aa470b79c0f22deaed4fda04 Mon Sep 17 00:00:00 2001 From: Avraham Adler Date: Sun, 26 Jul 2020 14:41:15 -0400 Subject: [PATCH] OpenBLAS 0.3.10 (#131) and update CI --- .github/workflows/main.yml | 51 +++++++++++++++++++++++++++++++++++++ azure-pipelines.yml | 2 ++ mingw-w64-openblas/PKGBUILD | 6 ++--- 3 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..9fe1a7f52 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,51 @@ +name: main + +on: + push: + pull_request: + +jobs: + build: + runs-on: windows-latest + strategy: + matrix: + include: [ + { msystem: mingw64 }, + { msystem: mingw32 } + ] + defaults: + run: + shell: msys2 {0} + steps: + + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - uses: msys2/setup-msys2@v2 + with: + msystem: ${{ matrix.msystem }} + install: git + update: true + + - name: CI-Build + run: MINGW_INSTALLS=${{ matrix.msystem }} ./ci-build.sh + env: + BUILD_URL: dummy + DEPLOY_PROVIDER: bintray + BINTRAY_TARGET: rtools + BINTRAY_REPOSITORY: ${{ matrix.msystem }} + PACMAN_REPOSITORY: ${{ matrix.msystem }} + BINTRAY_PACKAGE: ${{ matrix.msystem }} + + - name: "Upload binary package" + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.msystem }}-repo + path: artifacts/ + + - name: "Upload source package" + uses: actions/upload-artifact@v2 + with: + name: sources + path: sourcepkg/ diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6c61ca991..08ef96ca4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,6 +21,8 @@ jobs: SET PATH=c:\rtools40\usr\bin;%PATH% rmdir /s /Q "C:\Program Files\Boost" copy /y pacman.conf C:\rtools40\etc\pacman.conf + C:\rtools40\usr\bin\curl -OSsl "http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" + C:\rtools40\usr\bin\pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz && rm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz C:\rtools40\usr\bin\pacman -Syyuu --noconfirm --ask 20 C:\rtools40\usr\bin\pacman -Syyuu --noconfirm --ask 20 C:\rtools40\usr\bin\pacman --noconfirm --needed -S git ca-certificates diff --git a/mingw-w64-openblas/PKGBUILD b/mingw-w64-openblas/PKGBUILD index 035b12ecc..0d0323d57 100644 --- a/mingw-w64-openblas/PKGBUILD +++ b/mingw-w64-openblas/PKGBUILD @@ -4,8 +4,8 @@ _realname=OpenBLAS pkgbase=mingw-w64-openblas pkgname="${MINGW_PACKAGE_PREFIX}-openblas" -pkgver=0.3.9 -pkgrel=1 +pkgver=0.3.10 +pkgrel=2 pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD, providing optimized blas, lapack, and cblas (mingw-w64)" arch=('any') url="https://www.openblas.net/" @@ -22,7 +22,7 @@ source=(${_realname}-${pkgver}.tar.gz::https://github.com/xianyi/OpenBLAS/archiv 001-defaultlib-not-for-gcc.patch 002-lgfortran-requires-lquadmath.patch) install=${_realname}.install -sha256sums=('17D4677264DFBC4433E97076220ADC79B050E4F8A083EA3F853A53AF253BC380' +sha256sums=('0484d275f87e9b8641ff2eecaa9df2830cbe276ac79ad80494822721de6e1693' 'd9192818d0b0a9e7cbed7cc2572dfd380aa311be5ce4d012c0cb55211013db37' 'ab1c10a66b4d0332f2339f1169c0e3ebd48d9b8bf7afaec3f6a0d62099b52941')