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

View file

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