Skip to content

Commit

Permalink
fix: ci for windows cuda builds (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
vansangpfiev authored Apr 24, 2024
1 parent 1c69519 commit 49f72aa
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
runs-on: ubuntu-18-04-cuda-11-7
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
timeout-minutes: 20
timeout-minutes: 40
permissions:
contents: write

Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
runs-on: ubuntu-18-04-cuda-${{ matrix.cuda }}
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
timeout-minutes: 20
timeout-minutes: 40
permissions:
contents: write
strategy:
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
runs-on: mac-silicon
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
timeout-minutes: 20
timeout-minutes: 40
permissions:
contents: write
steps:
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
runs-on: macos-latest
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
timeout-minutes: 20
timeout-minutes: 40
permissions:
contents: write
steps:
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:
runs-on: macos-latest
needs: [create-draft-release, set-nitro-version, macOS-silicon-build, macOS-amd64-build]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
timeout-minutes: 20
timeout-minutes: 40
permissions:
contents: write
steps:
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
runs-on: windows-latest
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
timeout-minutes: 20
timeout-minutes: 40

strategy:
matrix:
Expand Down Expand Up @@ -474,7 +474,7 @@ jobs:
- name: Fetch SDL2 and set SDL2_DIR version 2.28.5
run: |
C:/msys64/usr/bin/wget.exe -qO sdl2.zip https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-devel-2.28.5-VC.zip
7z x sdl2.zip
7z x sdl2.zip -aoa
echo "SDL2_DIR=$env:GITHUB_WORKSPACE/SDL2-2.28.5/cmake" >> $env:GITHUB_ENV
- name: actions-setup-cmake
Expand Down Expand Up @@ -552,7 +552,7 @@ jobs:
runs-on: windows-cuda-${{ matrix.cuda }}
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
timeout-minutes: 20
timeout-minutes: 40
permissions:
contents: write

Expand All @@ -576,7 +576,7 @@ jobs:
- name: Fetch SDL2 and set SDL2_DIR version 2.28.5
run: |
curl -L -o sdl2.zip https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-devel-2.28.5-VC.zip
7z x sdl2.zip
7z x sdl2.zip -aoa
echo "SDL2_DIR=$env:GITHUB_WORKSPACE/SDL2-2.28.5/cmake" >> $env:GITHUB_ENV
- name: actions-setup-cmake
Expand Down Expand Up @@ -662,7 +662,7 @@ jobs:

update_release_draft:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
timeout-minutes: 20
timeout-minutes: 40
needs:
[
ubuntu-amd64-build,
Expand All @@ -682,7 +682,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

noti-discord-nightly:
timeout-minutes: 20
timeout-minutes: 40
if: github.event_name == 'schedule' && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.ubuntu-amd64-build.result == 'success' && needs.ubuntu-amd64-cuda-build.result == 'success' && needs.macOS-silicon-build.result == 'success' && needs.macOS-amd64-build.result == 'success' && needs.windows-amd64-build.result == 'success' && needs.windows-amd64-cuda-build.result == 'success'
needs:
[
Expand Down Expand Up @@ -719,7 +719,7 @@ jobs:
GITHUB_RUN_ID: ${{ github.run_id }}

noti-discord-manual:
timeout-minutes: 20
timeout-minutes: 40
if: github.event_name == 'workflow_dispatch' && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.ubuntu-amd64-build.result == 'success' && needs.ubuntu-amd64-cuda-build.result == 'success' && needs.macOS-silicon-build.result == 'success' && needs.macOS-amd64-build.result == 'success' && needs.windows-amd64-build.result == 'success' && needs.windows-amd64-cuda-build.result == 'success'
needs:
[
Expand Down

0 comments on commit 49f72aa

Please sign in to comment.