Skip to content

Commit

Permalink
Upd CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Nov 14, 2023
1 parent b070bce commit c567628
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,26 @@ jobs:
arch: x64
- os: windows
arch: x64
runs-on: ${{ ((matrix.os == 'ios' || matrix.os == 'macos') && 'macos-11')
|| (matrix.os == 'windows' && 'windows-2019')
|| 'ubuntu-latest' }}
runs-on: ${{ (contains('ios macos', matrix.os) && 'macos-11')
|| (contains('windows', matrix.os) && 'windows-2019')
|| 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

- run: ./disk_cleanup.sh
if: ${{ matrix.os == 'android' || matrix.os == 'linux' }}
if: ${{ contains('android linux', matrix.os) }}
- run: powershell .\disk_cleanup.bat
if: ${{ matrix.os == 'windows' }}
if: ${{ contains('windows', matrix.os) }}

- name: Mac deps
run: pip install setuptools
if: ${{ matrix.os == 'ios' || matrix.os == 'macos' }}
- run: pip install setuptools
if: ${{ contains('ios macos', matrix.os) }}

- run: make -C docker ${{ matrix.os }}${{ matrix.arch != '' && format('-{0}', matrix.arch) || '' }}
if: ${{ matrix.os == 'android' || matrix.os == 'linux' }}
if: ${{ contains('android linux', matrix.os) }}
- run: make -C build USE_CCACHE=0 ${{ matrix.os }}${{ matrix.arch != '' && format('-{0}', matrix.arch) || '' }}
if: ${{ matrix.os == 'ios' || matrix.os == 'macos' }}
if: ${{ contains('ios macos', matrix.os) }}
- run: powershell .\build.windows.bat
if: ${{ matrix.os == 'windows' }}
if: ${{ contains('windows', matrix.os) }}

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit c567628

Please sign in to comment.