diff --git a/.github/workflows/cmake-ninja.yml b/.github/workflows/cmake-ninja.yml index a7eaf98..b64aa63 100644 --- a/.github/workflows/cmake-ninja.yml +++ b/.github/workflows/cmake-ninja.yml @@ -17,36 +17,42 @@ jobs: # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix runs-on: ubuntu-latest - # Use centos7 + # Use centos8 container: - image: centos:7 + image: centos:8 options: --privileged steps: - name: Install GIT + shell: bash run: | - date - yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm + cd /etc/yum.repos.d/ + sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* + sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* + yum -y install https://packages.endpointdev.com/rhel/8/main/x86_64/endpoint-repo.noarch.rpm yum -y install git git --version - - name: Checkout code - uses: actions/checkout@v3 + - name: Checkout repository including the .git directory + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Dependencies + shell: bash run: | git config --global --add safe.directory '*' git status curl -L -O https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.sh chmod +x cmake-3.16.4-Linux-x86_64.sh ./cmake-3.16.4-Linux-x86_64.sh --skip-license --prefix=/usr/local - curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p7zip-16.02-20.el7.x86_64.rpm - curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p7zip-plugins-16.02-20.el7.x86_64.rpm - rpm -U --quiet p7zip-16.02-20.el7.x86_64.rpm - rpm -U --quiet p7zip-plugins-16.02-20.el7.x86_64.rpm + curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/p/p7zip-16.02-20.el8.x86_64.rpm + curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/p/p7zip-plugins-16.02-20.el8.x86_64.rpm + rpm -U --quiet p7zip-16.02-20.el8.x86_64.rpm + rpm -U --quiet p7zip-plugins-16.02-20.el8.x86_64.rpm yum install -y epel-release + yum install -y 'dnf-command(config-manager)' + yum config-manager --set-enabled powertools yum install -y make libasan gcc-gfortran gcc-c++ unzip openblas-devel lapack-devel zlib-devel tree fuse-sshfs fuse-libs file groupadd fuse user="$(whoami)" @@ -95,13 +101,13 @@ jobs: - name: Check file existence id: check_files - uses: andstor/file-existence-action@v2 + uses: andstor/file-existence-action@v3 with: files: "${{ env.BINARYPATH }}" - name: Fail if binary does not exist if: steps.check_files.outputs.files_exists == 'false' - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: script: | core.setFailed('no binary found under build/hopr*x86_64.AppImage.') @@ -116,14 +122,14 @@ jobs: mv ${BINARYNAME} md5sum.txt artifacts/. - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: hopr-binary-v1.2.1 + name: hopr-binary-v1.5.0 path: artifacts - name: Upload release asset if: github.event.action == 'published' - uses: actions/upload-release-asset@v1.0.1 + uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/src/globals.f90 b/src/globals.f90 index 0b63d84..2400a3a 100644 --- a/src/globals.f90 +++ b/src/globals.f90 @@ -57,7 +57,7 @@ MODULE MOD_Globals LOGICAL :: Logging ! Set .TRUE. to activate logging function for each processor INTEGER,PARAMETER :: MajorVersion = 1 !> HoprVersion saved in each hdf5 file with hdf5 header -INTEGER,PARAMETER :: MinorVersion = 4 !> HoprVersion saved in each hdf5 file with hdf5 header +INTEGER,PARAMETER :: MinorVersion = 5 !> HoprVersion saved in each hdf5 file with hdf5 header INTEGER,PARAMETER :: PatchVersion = 0 !> HoprVersion saved in each hdf5 file with hdf5 header INTEGER,PARAMETER :: HoprVersionInt = PatchVersion+MinorVersion*100+MajorVersion*10000 !> Hopr version number saved in each hdf5 file with hdf5 header CHARACTER(LEN=10) :: HoprVersionStr !> Hopr version string saved in each hdf5 file with hdf5 header