Skip to content

Commit

Permalink
ci - windows 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
TorusHyperV committed Nov 1, 2024
1 parent 7475bc1 commit a6b1cbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
continue-on-error: ${{ matrix.os == 'macos-latest' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-2019, macos-latest]
include:
- os: ubuntu-latest
extension: .out
compiler: g++
- os: windows-latest
- os: windows-2019
extension: .exe
compiler: mingw-g++
- os: macos-latest
Expand All @@ -46,15 +46,15 @@ jobs:

# Set up MSYS2 environment and install MinGW on Windows
- name: Set up MSYS2 with MinGW
if: ${{ matrix.os == 'windows-latest' }}
if: ${{ matrix.os == 'windows-2019' }}
uses: msys2/setup-msys2@v2
with:
update: true
install: mingw-w64-x86_64-gcc

# Add MinGW to PATH on Windows
- name: Add MinGW to PATH
if: ${{ matrix.os == 'windows-latest' }}
if: ${{ matrix.os == 'windows-2019' }}
run: echo "C:/msys64/mingw64/bin" >> $GITHUB_PATH

# Build step - uses appropriate compiler based on OS
Expand Down

0 comments on commit a6b1cbf

Please sign in to comment.