Update build-platformio-windows.yml
This commit is contained in:
parent
3656589292
commit
fa4a72bb63
1 changed files with 12 additions and 4 deletions
16
.github/workflows/build-platformio-windows.yml
vendored
16
.github/workflows/build-platformio-windows.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue