all repos — min @ df7a772df4e6b87fd8f620bcb9bb80fa7e99f3be

A small but practical concatenative programming language.

Fixing test action.
h3rald h3rald@h3rald.com
Mon, 27 May 2024 15:47:45 +0000
commit

df7a772df4e6b87fd8f620bcb9bb80fa7e99f3be

parent

14f209323464c1ac634c7e2855b5af99c53c76bb

1 files changed, 23 insertions(+), 2 deletions(-)

jump to
M .github/workflows/test.yml.github/workflows/test.yml

@@ -50,6 +50,21 @@ - name: Update %PATH%

run: echo "${HOME}/.nimble/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append if: matrix.os == 'windows-latest' + - name: Setup Msys2 + if: matrix.os == 'windows-latest' + uses: msys2/setup-msys2@v2 + with: + msystem: MINGW64 + release: true + update: true + path-type: inherit + install: >- + base-devel + autotools + mingw-w64-x86_64-perl-locale-maketext + mingw-w64-x86_64-toolchain + mingw-w64-x86_64-autotools + # Install the Nim compiler and dependencies - name: Install Nim and deps run: |

@@ -61,8 +76,14 @@ - name: Build (Linux)

run: nimble build -y -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc -d:ssl -d:useOpenSsl3 --opt:size if: matrix.os == 'ubuntu-latest' - # Build for macOS/Windows - - name: Build (macOS, Windows) + # Build for Windows + - name: Build (Windows) + shell: msys2 {0} + run: nimble build -v -y -d:release --mm:refc --opt:size -d:ssl --gcc.exe:x86_64-w64-mingw32-gcc --gcc.linkerexe:x86_64-w64-mingw32-gcc min + if: matrix.os == 'windows-latest' + + # Build for macOS + - name: Build (macOS) run: nimble build -y -d:release -d:ssl -d:useOpenSsl3 --opt:size if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest'