From f0dda6f66e4e5eca03da155ee62a34febf4e1ca3 Mon Sep 17 00:00:00 2001 From: Ahmad Nawab Date: Thu, 28 Nov 2024 17:44:28 +0100 Subject: [PATCH] Remove old CI --- .github/workflows/fieldapi_gnu.yml | 70 --------------- .github/workflows/fieldapi_intel_classic.yml | 94 -------------------- .github/workflows/fieldapi_intel_modern.yml | 89 ------------------ 3 files changed, 253 deletions(-) delete mode 100644 .github/workflows/fieldapi_gnu.yml delete mode 100644 .github/workflows/fieldapi_intel_classic.yml delete mode 100644 .github/workflows/fieldapi_intel_modern.yml diff --git a/.github/workflows/fieldapi_gnu.yml b/.github/workflows/fieldapi_gnu.yml deleted file mode 100644 index 0becee1..0000000 --- a/.github/workflows/fieldapi_gnu.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: FieldAPI_GNU - -on: [push, pull_request] - -jobs: - CI: - name: CI - # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. - # You can convert this to a matrix build if you need cross-platform coverage. - # 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 - strategy: - fail-fast: false # try to complete all jobs - - matrix: - # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) - build_type: [RelWithDebInfo] - - steps: - - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - - - name: Install up-to-date CMake - run: pip install cmake - - - name: Clone ecbuild - uses: actions/checkout@v3 - with: - repository: ecmwf/ecbuild - path: ecbuild - ref: develop - - - name: Clone fiat - uses: actions/checkout@v3 - with: - repository: ecmwf-ifs/fiat - path: fiat - ref: develop - - - name: Build fiat - env: - ecbuild_ROOT: ${{github.workspace}}/ecbuild/bin - working-directory: ${{github.workspace}}/fiat - run: | - cmake -B ${{github.workspace}}/fiat/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF - cmake --build ${{github.workspace}}/fiat/build -- -j - - - name: Configure field_api - env: - ecbuild_ROOT: ${{github.workspace}}/ecbuild/bin - fiat_ROOT: ${{github.workspace}}/fiat/build - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DENABLE_ACC=OFF - - - name: Build field_api - # Build your program - run: cmake --build ${{github.workspace}}/build -- -j - - - name: Test field_api - env: - DEV_ALLOC_SIZE: 1000000 - working-directory: ${{github.workspace}}/build - # Execute tests defined by the CMake configuration. - run: ctest --output-on-failure diff --git a/.github/workflows/fieldapi_intel_classic.yml b/.github/workflows/fieldapi_intel_classic.yml deleted file mode 100644 index 82579c5..0000000 --- a/.github/workflows/fieldapi_intel_classic.yml +++ /dev/null @@ -1,94 +0,0 @@ -name: FieldAPI_intel_classic - -on: [push, pull_request] - -jobs: - CI: - name: CI - # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. - # You can convert this to a matrix build if you need cross-platform coverage. - # 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 - strategy: - fail-fast: false # try to complete all jobs - - matrix: - # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) - build_type: [RelWithDebInfo] - - steps: - - uses: actions/checkout@v3 - - - name: Intel Apt repository - run: | - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main" - - - name: Install Intel oneAPI - run: | - sudo apt update - sudo apt install \ - intel-oneapi-compiler-fortran-2023.2.0 \ - intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2023.2.0 \ - intel-oneapi-mpi-devel-2021.10.0 \ - intel-oneapi-mkl-2023.2.0 - - - - name: Setup Intel oneAPI environment - run: | - source /opt/intel/oneapi/setvars.sh - printenv >> $GITHUB_ENV - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - - - name: Install up-to-date CMake - run: pip install cmake - - - name: Clone ecbuild - uses: actions/checkout@v3 - with: - repository: ecmwf/ecbuild - path: ecbuild - ref: develop - - - name: Clone fiat - uses: actions/checkout@v3 - with: - repository: ecmwf-ifs/fiat - path: fiat - ref: develop - - - name: Build fiat - env: - ecbuild_ROOT: ${{github.workspace}}/ecbuild/bin - working-directory: ${{github.workspace}}/fiat - run: | - cmake -B ${{github.workspace}}/fiat/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DCMAKE_Fortran_COMPILER=ifort - cmake --build ${{github.workspace}}/fiat/build -- -j - - - name: Configure field_api - env: - ecbuild_ROOT: ${{github.workspace}}/ecbuild/bin - fiat_ROOT: ${{github.workspace}}/fiat/build - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: | - cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DENABLE_ACC=OFF -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DCMAKE_Fortran_COMPILER=ifort - - - name: Build field_api - # Build your program - run: cmake --build ${{github.workspace}}/build -- -j - - - name: Test field_api - env: - DEV_ALLOC_SIZE: 1000000 - working-directory: ${{github.workspace}}/build - # Execute tests defined by the CMake configuration. - run: ctest --output-on-failure - diff --git a/.github/workflows/fieldapi_intel_modern.yml b/.github/workflows/fieldapi_intel_modern.yml deleted file mode 100644 index b40ae43..0000000 --- a/.github/workflows/fieldapi_intel_modern.yml +++ /dev/null @@ -1,89 +0,0 @@ -name: FieldAPI_intel_modern - -on: [push, pull_request] - -jobs: - CI: - name: CI - # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. - # You can convert this to a matrix build if you need cross-platform coverage. - # 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 - strategy: - fail-fast: false # try to complete all jobs - - matrix: - # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) - build_type: [RelWithDebInfo] - - steps: - - uses: actions/checkout@v3 - - - name: Intel Apt repository - run: | - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main" - - - name: Install Intel oneAPI - run: | - sudo apt update - sudo apt install intel-hpckit - - - name: Setup Intel oneAPI environment - run: | - source /opt/intel/oneapi/setvars.sh - printenv >> $GITHUB_ENV - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - - - name: Install up-to-date CMake - run: pip install cmake - - - name: Clone ecbuild - uses: actions/checkout@v3 - with: - repository: ecmwf/ecbuild - path: ecbuild - ref: develop - - - name: Clone fiat - uses: actions/checkout@v3 - with: - repository: ecmwf-ifs/fiat - path: fiat - ref: develop - - - name: Build fiat - env: - ecbuild_ROOT: ${{github.workspace}}/ecbuild/bin - working-directory: ${{github.workspace}}/fiat - run: | - cmake -B ${{github.workspace}}/fiat/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DCMAKE_Fortran_COMPILER=ifx - cmake --build ${{github.workspace}}/fiat/build -- -j - - - name: Configure field_api - env: - ecbuild_ROOT: ${{github.workspace}}/ecbuild/bin - fiat_ROOT: ${{github.workspace}}/fiat/build - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: | - cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DENABLE_ACC=OFF -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DCMAKE_Fortran_COMPILER=ifx - - - name: Build field_api - # Build your program - run: cmake --build ${{github.workspace}}/build -- -j - - - name: Test field_api - env: - DEV_ALLOC_SIZE: 1000000 - working-directory: ${{github.workspace}}/build - # Execute tests defined by the CMake configuration. - run: ctest --output-on-failure -