Update build-platformio-windows.yml

This commit is contained in:
Klaus Musch 2024-03-13 14:55:41 +01:00 committed by GitHub
parent 3656589292
commit fa4a72bb63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 4 deletions

View File

@ -29,16 +29,24 @@ jobs:
if: ${{matrix.sys != 'xtensa'}}
uses: msys2/setup-msys2@v2
with:
update: true
msystem: ${{matrix.sys}}
install: >-
mingw-w64-${{matrix.env}}-gcc
mingw-w64-${{matrix.env}}-gdb
mingw-w64-${{matrix.env}}-SDL2
- name: Add path 1
run: echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Add path 2
run: echo "C:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Add paths mingw64
if: ${{matrix.sys == 'mingw64'}}
run: |
echo "${{ runner.temp }}\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${{ runner.temp }}\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Add paths mingw32
if: ${{matrix.sys == 'mingw32'}}
run: |
echo "${{ runner.temp }}\msys64\mingw32\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${{ runner.temp }}\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install PlatformIO Core
run: pip install --upgrade platformio