1
0
mirror of synced 2025-01-11 08:15:48 +00:00
gusto 0eae715f8d
GH: Waku windows build configuration (#432)
* Update binutils for windows

* Create mingw-env action and move configuration there

* Use cc and cxx vars for gowaku

* Use go 1.20 for waku
2023-09-22 09:31:31 +03:00

23 lines
729 B
YAML

# Adapting https://github.com/microsoft/windows-rs/blob/master/.github/actions/fix-environment/action.yml
# for waku windows builds to use desired binutils version.
name: Fix environment
description: GitHub VMs aren't configured correctly
runs:
using: "composite"
steps:
- name: Update binutils (Windows)
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
pacboy: binutils
- name: Configure CC and CXX for GNU
shell: pwsh
run: |
"CC=x86_64-w64-mingw32-gcc" >> $env.GITHUB_ENV
"CXX=x86_64-w64-mingw32-g++" >> $env.GITHUB_ENV
- name: Configure environment
shell: pwsh
run: |
"C:\msys64\mingw64\bin" >> $env:GITHUB_PATH