Skip to content

Commit

Permalink
copy 22.1 windows release YML, change python version to 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnema committed Jun 9, 2022
1 parent 4b123cf commit 9f02123
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/windows_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
CMAKE_Fortran_COMPILER: "/c/msys64/mingw64/bin/x86_64-w64-mingw32-gfortran.exe"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_TYPE: Release
Python_REQUIRED_VERSION: 3.7

jobs:
windows_release:
Expand All @@ -32,10 +33,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.7
- name: Set up Python ${{ env.Python_REQUIRED_VERSION }}
uses: actions/setup-python@v2
id: setup-python
with:
python-version: 3.7
python-version: ${{ env.Python_REQUIRED_VERSION }}
architecture: ${{ matrix.arch }}

- name: Setup QtIFW 4.x
Expand All @@ -55,8 +57,8 @@ jobs:
set -x
echo "Downloading MiKTeX CLI installer"
# We download from a specific miror already # TODO: Should store this setup package somewhere ourselves
curl -L -O https://ctan.math.illinois.edu/systems/win32/miktex/setup/windows-x64/miktexsetup-4.1-x64.zip
unzip miktexsetup-4.1-x64.zip
curl -L -O https://ctan.math.illinois.edu/systems/win32/miktex/setup/windows-x64/miktexsetup-4.2-x64.zip
unzip miktexsetup-4.2-x64.zip
echo "Setting up the local package directory via download"
./miktexsetup_standalone --verbose \
Expand Down Expand Up @@ -104,8 +106,10 @@ jobs:
run: |
set -x
cmake -G "Visual Studio 16 2019" -A ${{ matrix.vs-generator }} \
-DLINK_WITH_PYTHON=ON -DBUILD_FORTRAN=ON -DBUILD_PACKAGE:BOOL=ON \
-DDOCUMENTATION_BUILD="BuildWithAll" -DTEX_INTERACTION="batchmode" \
-DLINK_WITH_PYTHON:BOOL=ON -DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \
-DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/${{ matrix.arch }}/ \
-DBUILD_FORTRAN:BOOL=ON -DBUILD_PACKAGE:BOOL=ON \
-DDOCUMENTATION_BUILD:STRING="BuildWithAll" -DTEX_INTERACTION:STRING="batchmode" \
../
- name: Build Package
Expand Down

5 comments on commit 9f02123

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v9.6PlusSpaceFix1-py3.7 (bonnema) - x86_64-MacOS-10.17-clang-13.0.0: OK (2446 of 2446 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v9.6PlusSpaceFix1-py3.7 (bonnema) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: OK (2467 of 2467 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v9.6PlusSpaceFix1-py3.7 (bonnema) - Win64-Windows-10-VisualStudio-16: OK (2425 of 2425 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v9.6PlusSpaceFix1-py3.7 (bonnema) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1712 of 1712 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v9.6PlusSpaceFix1-py3.7 (bonnema) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-IntegrationCoverage-Debug: OK (737 of 737 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.