Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Build dependency for Github Actions #1046

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2021-2023 Valve Corporation
# Copyright (c) 2021-2023 LunarG, Inc.
# Copyright (c) 2021-2024 Valve Corporation
# Copyright (c) 2021-2024 LunarG, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,7 +29,8 @@ concurrency:
cancel-in-progress: true

jobs:
linux:
linux:
needs: tools_codegen
runs-on: ${{matrix.os}}

strategy:
Expand Down Expand Up @@ -101,7 +102,8 @@ jobs:
- run: scripts/update_deps.py --dir ext --no-build
- run: scripts/generate_source.py --verify ext/Vulkan-Headers/registry/

windows:
windows:
needs: tools_codegen
runs-on: ${{matrix.os}}

strategy:
Expand Down Expand Up @@ -134,6 +136,8 @@ jobs:
run: ctest --output-on-failure

mac:
# mac is 10x expensive to run on GitHub machines, so only run if we know something else fast/simple passed as well
needs: chromium
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -159,7 +163,8 @@ jobs:

- run: cmake --install build --prefix /tmp

android:
android:
needs: tools_codegen
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down Expand Up @@ -191,6 +196,7 @@ jobs:
run: cmake --install build --prefix /tmp

mingw:
needs: tools_codegen
runs-on: windows-latest
defaults:
run:
Expand Down Expand Up @@ -218,6 +224,7 @@ jobs:
- run: cmake --install build --prefix build/install

tools_codegen:
needs: codegen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -230,6 +237,7 @@ jobs:
- run: git diff --exit-code

chromium:
needs: tools_codegen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Loading