Skip to content

Commit 25b21ce

Browse files
committed
Release 0.1
1 parent 935b8c5 commit 25b21ce

3 files changed

Lines changed: 44 additions & 44 deletions

File tree

.github/julia/build_tarballs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ script = raw"""
1717
# Update Ninja
1818
cp ${host_prefix}/bin/ninja /usr/bin/ninja
1919
20-
cd ${WORKSPACE}/srcdir/diff-lapack
20+
cd ${WORKSPACE}/srcdir/diffblas
2121
meson setup builddir --cross-file=${MESON_TARGET_TOOLCHAIN%.*}_gcc.meson --prefix=$prefix
2222
meson compile -C builddir
2323
meson install -C builddir

.github/julia/generate_binaries.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ platforms = [
1717
# ("powerpc64le-linux-gnu-libgfortran5" , "lib", "so" ),
1818
# ("x86_64-apple-darwin-libgfortran3" , "lib", "dylib"),
1919
# ("x86_64-apple-darwin-libgfortran4" , "lib", "dylib"),
20-
("x86_64-apple-darwin-libgfortran5" , "lib", "dylib"),
20+
# ("x86_64-apple-darwin-libgfortran5" , "lib", "dylib"),
2121
# ("x86_64-linux-gnu-libgfortran3" , "lib", "so" ),
2222
# ("x86_64-linux-gnu-libgfortran4" , "lib", "so" ),
2323
("x86_64-linux-gnu-libgfortran5" , "lib", "so" ),
@@ -49,7 +49,7 @@ for (platform, libdir, ext) in platforms
4949

5050
# Create a folder with the version number of the package
5151
mkdir("$(package)_binaries.$version2")
52-
for folder in ("lib")
52+
for folder in ("lib", )
5353
cp(folder, "$(package)_binaries.$version2/$folder")
5454
end
5555

.github/workflows/release.yml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -111,40 +111,40 @@ jobs:
111111
name: diffblas_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip
112112
path: ./diffblas_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip
113113

114-
build-mac-x64:
115-
name: diffblas -- macOS (x86_64) -- Release ${{ github.ref_name }}
116-
runs-on: ubuntu-latest
117-
steps:
118-
- name: Checkout diffblas
119-
uses: actions/checkout@v4
120-
121-
- name: Install Julia
122-
uses: julia-actions/setup-julia@v2
123-
with:
124-
version: "1.7"
125-
arch: x64
126-
127-
- name: Set the environment variables BINARYBUILDER_AUTOMATIC_APPLE, DIFFBLAS_RELEASE, DIFFBLAS_COMMIT, DIFFBLAS_URL
128-
shell: bash
129-
run: |
130-
echo "BINARYBUILDER_AUTOMATIC_APPLE=true" >> $GITHUB_ENV
131-
echo "DIFFBLAS_RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
132-
echo "DIFFBLAS_COMMIT=${{ github.sha }}" >> $GITHUB_ENV
133-
echo "DIFFBLAS_URL=https://github.com/${{ github.repository }}.git" >> $GITHUB_ENV
134-
135-
- name: Cross-compilation of diffblas -- x86_64-apple-darwin-libgfortran5
136-
run: |
137-
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
138-
julia --color=yes .github/julia/build_tarballs.jl x86_64-apple-darwin-libgfortran5 --verbose
139-
140-
- name: Archive artifact
141-
run: julia --color=yes .github/julia/generate_binaries.jl
142-
143-
- name: Upload artifact
144-
uses: actions/upload-artifact@v4
145-
with:
146-
name: diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
147-
path: ./diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
114+
# build-mac-x64:
115+
# name: diffblas -- macOS (x86_64) -- Release ${{ github.ref_name }}
116+
# runs-on: ubuntu-latest
117+
# steps:
118+
# - name: Checkout diffblas
119+
# uses: actions/checkout@v4
120+
121+
# - name: Install Julia
122+
# uses: julia-actions/setup-julia@v2
123+
# with:
124+
# version: "1.7"
125+
# arch: x64
126+
127+
# - name: Set the environment variables BINARYBUILDER_AUTOMATIC_APPLE, DIFFBLAS_RELEASE, DIFFBLAS_COMMIT, DIFFBLAS_URL
128+
# shell: bash
129+
# run: |
130+
# echo "BINARYBUILDER_AUTOMATIC_APPLE=true" >> $GITHUB_ENV
131+
# echo "DIFFBLAS_RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
132+
# echo "DIFFBLAS_COMMIT=${{ github.sha }}" >> $GITHUB_ENV
133+
# echo "DIFFBLAS_URL=https://github.com/${{ github.repository }}.git" >> $GITHUB_ENV
134+
135+
# - name: Cross-compilation of diffblas -- x86_64-apple-darwin-libgfortran5
136+
# run: |
137+
# julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
138+
# julia --color=yes .github/julia/build_tarballs.jl x86_64-apple-darwin-libgfortran5 --verbose
139+
140+
# - name: Archive artifact
141+
# run: julia --color=yes .github/julia/generate_binaries.jl
142+
143+
# - name: Upload artifact
144+
# uses: actions/upload-artifact@v4
145+
# with:
146+
# name: diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
147+
# path: ./diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
148148

149149
build-mac-aarch64:
150150
name: diffblas -- macOS (aarch64) -- Release ${{ github.ref_name }}
@@ -183,7 +183,7 @@ jobs:
183183

184184
release:
185185
name: Create Release and Upload Binaries
186-
needs: [build-windows-x64, build-linux-x64, build-linux-aarch64, build-mac-x64, build-mac-aarch64]
186+
needs: [build-windows-x64, build-linux-x64, build-linux-aarch64, build-mac-aarch64] # build-mac-x64
187187
runs-on: ubuntu-latest
188188
steps:
189189
- name: Checkout diffblas
@@ -217,12 +217,12 @@ jobs:
217217
env:
218218
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
219219

220-
- name: Upload Mac (x86_64) artifact
221-
run: |
222-
gh release upload ${{ github.ref_name }} \
223-
diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz/diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz#diffblas.${{ github.ref_name }}.mac.x86_64.tar.gz
224-
env:
225-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
220+
# - name: Upload Mac (x86_64) artifact
221+
# run: |
222+
# gh release upload ${{ github.ref_name }} \
223+
# diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz/diffblas_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz#diffblas.${{ github.ref_name }}.mac.x86_64.tar.gz
224+
# env:
225+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
226226

227227
- name: Upload Mac (aarch64) artifact
228228
run: |

0 commit comments

Comments
 (0)