Skip to content

Commit

Permalink
Release 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jun 13, 2024
1 parent 0926b6d commit 7e924e6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/julia/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using BinaryBuilder, Pkg
haskey(ENV, "SIFDECODE_RELEASE") || error("The environment variable SIFDECODE_RELEASE is not defined.")
haskey(ENV, "SIFDECODE_COMMIT") || error("The environment variable SIFDECODE_COMMIT is not defined.")

name = "SIFDECODE"
name = "SIFDecode"
version = VersionNumber(ENV["SIFDECODE_RELEASE"])

# Collection of sources required to complete build
Expand Down
4 changes: 2 additions & 2 deletions .github/julia/generate_binaries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
haskey(ENV, "SIFDECODE_RELEASE") || error("The environment variable SIFDECODE_RELEASE is not defined.")
version = VersionNumber(ENV["SIFDECODE_RELEASE"])
version2 = ENV["SIFDECODE_RELEASE"]
package = "SIFDECODE"
package = "SIFDecode"

platforms = [
("aarch64-apple-darwin-libgfortran5" , "lib", "dylib"),
Expand Down Expand Up @@ -75,7 +75,7 @@ for (platform, libdir, ext) in platforms

cd("$(package)_binaries.$version2")
if ext == "dll"
run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip include modules lib bin`)
run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip share modules lib bin`)
else
run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz share modules lib bin`)
end
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'v*' # Push events to matching v*, i.e. v1.0, v2023.11.15
jobs:
build:
name: SIFDECODE -- Release ${{ github.ref_name }}
name: SIFDecode -- Release ${{ github.ref_name }}
runs-on: ubuntu-latest
steps:
- name: Checkout SIFDECODE
Expand All @@ -22,22 +22,22 @@ jobs:
echo "BINARYBUILDER_AUTOMATIC_APPLE=true" >> $GITHUB_ENV
echo "SIFDECODE_RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
echo "SIFDECODE_COMMIT=${{ github.sha }}" >> $GITHUB_ENV
- name: Cross-compilation of SIFDECODE -- x86_64-linux-gnu-libgfortran5
- name: Cross-compilation of SIFDecode -- x86_64-linux-gnu-libgfortran5
run: |
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
julia --color=yes .github/julia/build_tarballs.jl x86_64-linux-gnu-libgfortran5 --verbose
rm -r ~/.julia
- name: Cross-compilation of SIFDECODE -- x86_64-w64-mingw32-libgfortran5
- name: Cross-compilation of SIFDecode -- x86_64-w64-mingw32-libgfortran5
run: |
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
julia --color=yes .github/julia/build_tarballs.jl x86_64-w64-mingw32-libgfortran5 --verbose
rm -r ~/.julia
- name: Cross-compilation of SIFDECODE -- x86_64-apple-darwin-libgfortran5
- name: Cross-compilation of SIFDecode -- x86_64-apple-darwin-libgfortran5
run: |
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
julia --color=yes .github/julia/build_tarballs.jl x86_64-apple-darwin-libgfortran5 --verbose
rm -r ~/.julia
- name: Cross-compilation of SIFDECODE -- aarch64-apple-darwin-libgfortran5
- name: Cross-compilation of SIFDecode -- aarch64-apple-darwin-libgfortran5
run: |
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
julia --color=yes .github/julia/build_tarballs.jl aarch64-apple-darwin-libgfortran5 --verbose
Expand All @@ -61,33 +61,33 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz
asset_name: SIFDECODE.${{ github.ref_name }}.linux.tar.gz
asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.x86_64-linux-gnu-libgfortran5.tar.gz
asset_name: SIFDecode.${{ github.ref_name }}.linux.tar.gz
asset_content_type: application/gzip
- name: upload Mac (Intel) artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
asset_name: SIFDECODE.${{ github.ref_name }}.mac-intel.tar.gz
asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.x86_64-apple-darwin-libgfortran5.tar.gz
asset_name: SIFDecode.${{ github.ref_name }}.mac-intel.tar.gz
asset_content_type: application/gzip
- name: upload Mac (ARM) artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz
asset_name: SIFDECODE.${{ github.ref_name }}.mac-arm.tar.gz
asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.aarch64-apple-darwin-libgfortran5.tar.gz
asset_name: SIFDecode.${{ github.ref_name }}.mac-arm.tar.gz
asset_content_type: application/gzip
- name: upload Windows artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./SIFDECODE_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip
asset_name: SIFDECODE.${{ github.ref_name }}.windows.zip
asset_path: ./SIFDecode_binaries.${{ github.ref_name }}.x86_64-w64-mingw32-libgfortran5.zip
asset_name: SIFDecode.${{ github.ref_name }}.windows.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'SIFDecode',
'fortran',
version: '2.4.1',
version: '2.4.2',
meson_version: '>= 0.61.0',
default_options: [
'buildtype=release',
Expand Down

0 comments on commit 7e924e6

Please sign in to comment.