Skip to content

Merge pull request #66 from OpenSEMBA/dev #23

Merge pull request #66 from OpenSEMBA/dev

Merge pull request #66 from OpenSEMBA/dev #23

name: automatic-release-windows-intelLLVM
env:
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/62641e01-1e8d-4ace-91d6-ae03f7f8a71f/w_BaseKit_p_2024.0.0.49563_offline.exe
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5b36181e-4974-4733-91c7-0c10c54900a5/w_HPCKit_p_2024.0.0.49588_offline.exe
WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-dpcpp-common
WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler
WINDOWS_DPCPP_COMPONENTS: intel.oneapi.win.cpp-dpcpp-common
on:
push:
branches:
- main
jobs:
builds-and-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup MPI
uses: mpi4py/setup-mpi@v1
with:
mpi: 'intelmpi'
- name: Setup intel fortran
uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: intel
version: '2024.1'
- name: Setup ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: CMake build
shell: bash
run: |
.github/workflows/build_windows.bat
- name: Install python wrapper requirements
run: |
python -m pip install -r requirements.txt
- name: Run all tests
shell: bash
timeout-minutes: 120
run: |
.github/workflows/run_tests_windows.bat
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Creating archive
run: |
tar -czvf semba-fdtd-windows-intelLLVM.tar.gz build/bin/* LICENSE
- name: Generating release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ steps.date.outputs.date }}-windows-intelLLVM"
prerelease: false
title: "${{ steps.date.outputs.date }} Windows Intel LLVM dev. build"
files: |
semba-fdtd-windows-intelLLVM.tar.gz