Skip to content

Commit

Permalink
add x86
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Jan 31, 2025
1 parent 224560a commit 6c6cc36
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/msys-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,30 @@ jobs:
build:
runs-on: windows-latest

strategy:
matrix:
include:
- arch: x64
msystem: MINGW64
gcc-package: mingw-w64-x86_64-gcc
artifact-name: win-x64-native
- arch: x86
msystem: MINGW32
gcc-package: mingw-w64-i686-gcc
artifact-name: win-x86-native

env:
GMP_VERSION: 6.3.0

steps:
- uses: msys2/setup-msys2@v2
with:
release: false
msystem: MINGW64
msystem: ${{ matrix.msystem }}
install: >-
m4
base-devel
mingw-w64-x86_64-gcc
${{ matrix.gcc-package }}
- name: Download GMP Source
run: |
Expand All @@ -49,7 +61,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: win-x64-native
name: ${{ matrix.artifact-name }}
path: |
${{ github.workspace }}/gmp-${{ env.GMP_VERSION }}/.libs/libgmp-10.dll
${{ github.workspace }}/gmp-${{ env.GMP_VERSION }}/.libs/libgmpxx-6.dll
Expand Down

0 comments on commit 6c6cc36

Please sign in to comment.