mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-21 11:50:04 +00:00
Update actions/checkout in GitHub Actions (#1482)
This commit is contained in:
parent
68512e6702
commit
9649d9980b
7
.github/workflows/ci-macos.yml
vendored
7
.github/workflows/ci-macos.yml
vendored
@ -15,15 +15,14 @@ jobs:
|
||||
cxx_standard: [11, 14, 17, 20]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install libraries
|
||||
run: |
|
||||
brew install clang-format molten-vk
|
||||
|
||||
- name: Update Submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Install Ninja
|
||||
uses: ashutoshvarma/setup-ninja@master
|
||||
with:
|
||||
|
7
.github/workflows/ci-ubuntu.yml
vendored
7
.github/workflows/ci-ubuntu.yml
vendored
@ -22,14 +22,13 @@ jobs:
|
||||
cxx_standard: [11, 14, 17, 20]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install libraries
|
||||
run: sudo apt update && sudo apt install libgl-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev
|
||||
|
||||
- name: Update Submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Install Ninja
|
||||
uses: ashutoshvarma/setup-ninja@master
|
||||
with:
|
||||
|
7
.github/workflows/ci-windows.yml
vendored
7
.github/workflows/ci-windows.yml
vendored
@ -16,10 +16,9 @@ jobs:
|
||||
build_type: [Debug, Release]
|
||||
cxx_standard: [11, 14, 17, 20]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Update Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Setup MSVC
|
||||
uses: TheMrMilchmann/setup-msvc-dev@v1
|
||||
|
5
.github/workflows/set-version-tag.yml
vendored
5
.github/workflows/set-version-tag.yml
vendored
@ -9,11 +9,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Update Submodules
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd Vulkan-Headers
|
||||
VK_HEADER_GIT_TAG=$(git tag --points-at HEAD | head -n1)
|
||||
git checkout $VK_HEADER_GIT_TAG
|
||||
|
5
.github/workflows/update-header-pr.yml
vendored
5
.github/workflows/update-header-pr.yml
vendored
@ -15,14 +15,15 @@ jobs:
|
||||
cxx_standard: [11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install libraries
|
||||
run: sudo apt install clang-format-15
|
||||
|
||||
- name: Update Submodules
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
cd Vulkan-Headers
|
||||
VK_HEADER_GIT_TAG=$(git describe --always --tags $(git rev-list --tags) | grep 'v[0-9]\.' | head -n1)
|
||||
echo "New revision of Vulkan-Headers: $VK_HEADER_GIT_TAG"
|
||||
|
Loading…
Reference in New Issue
Block a user