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'}}
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue