Skip to content

Commit

Permalink
Updating GitHub CI to from MSVC2019 to MSVC2022
Browse files Browse the repository at this point in the history
  • Loading branch information
npwoods committed Jul 9, 2023
1 parent 25c71b2 commit b897869
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#############################################
# BletchMAME Windows MSVC2019 Github Action #
# BletchMAME Windows MSVC2022 Github Action #
#############################################

name: Windows MSVC2019
name: Windows MSVC2022

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
Expand All @@ -21,7 +21,7 @@ jobs:
matrix:
config: [Debug, Release]
qt: [6.2.1, 6.4.0]
runs-on: windows-2019
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
cache-name: cache-deps
with:
path: deps/install
key: ${{ runner.os }}-build-${{ matrix.config }}-${{ env.cache-name }}-${{ hashFiles('.github/workflows/windows_msvc2019.yml', 'scripts/zlib_build_msvc.sh', 'scripts/expat_build_msvc.sh', 'scripts/quazip_build_msvc.sh', 'scripts/lzma_build_msvc.sh')}}
key: ${{ runner.os }}-build-${{ matrix.config }}-${{ env.cache-name }}-${{ hashFiles('.github/workflows/windows_msvc2022.yml', 'scripts/zlib_build_msvc.sh', 'scripts/expat_build_msvc.sh', 'scripts/quazip_build_msvc.sh', 'scripts/lzma_build_msvc.sh')}}

# Retrieve Zlib
- name: Retrieve Zlib
Expand Down Expand Up @@ -119,5 +119,5 @@ jobs:
run: |
echo Running Unit Tests
echo Listing directory
ls -l ./build/msvc2019/${{ matrix.config }}
cd ./build/msvc2019/${{ matrix.config }} ; export PATH=$PATH:`cygpath $Qt6_DIR/bin`:`cygpath $GITHUB_WORKSPACE/deps/install/msvc2019/bin` ; echo $PATH ; ./BletchMAME_tests.exe
ls -l ./build/msvc2022/${{ matrix.config }}
cd ./build/msvc2022/${{ matrix.config }} ; export PATH=$PATH:`cygpath $Qt6_DIR/bin`:`cygpath $GITHUB_WORKSPACE/deps/install/msvc2022/bin` ; echo $PATH ; ./BletchMAME_tests.exe
2 changes: 1 addition & 1 deletion scripts/bletchmame_build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TOOLSET=v142

# config is "Debug" by default, but can also be "Release"
CONFIG=Debug
MSVC_VER=msvc2019
MSVC_VER=msvc2022

# QT version is 6.2.0 by default
QT_VERSION=6.2.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/expat_build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z "$BASH_SOURCE" ]; then
fi

CONFIG=Debug
MSVC_VER=msvc2019
MSVC_VER=msvc2022

# parse arguments
while getopts "c:v:" OPTION; do
Expand Down
2 changes: 1 addition & 1 deletion scripts/liblzma_build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z "$BASH_SOURCE" ]; then
fi

CONFIG=Debug
MSVC_VER=msvc2019
MSVC_VER=msvc2022

# parse arguments
while getopts "c:t:v:" OPTION; do
Expand Down
2 changes: 1 addition & 1 deletion scripts/lzma_build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z "$BASH_SOURCE" ]; then
fi

CONFIG=Debug
MSVC_VER=msvc2019
MSVC_VER=msvc2022

# parse arguments
while getopts "c:t:v:" OPTION; do
Expand Down
2 changes: 1 addition & 1 deletion scripts/quazip_build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z "$BASH_SOURCE" ]; then
fi

CONFIG=Debug
MSVC_VER=msvc2019
MSVC_VER=msvc2022

# QT version is 6.2.0 by default
QT_VERSION=6.2.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/zlib_build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z "$BASH_SOURCE" ]; then
fi

CONFIG=Debug
MSVC_VER=msvc2019
MSVC_VER=msvc2022

# parse arguments
while getopts "c:v:" OPTION; do
Expand Down

0 comments on commit b897869

Please sign in to comment.