mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +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]
|
cxx_standard: [11, 14, 17, 20]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
run: |
|
run: |
|
||||||
brew install clang-format molten-vk
|
brew install clang-format molten-vk
|
||||||
|
|
||||||
- name: Update Submodules
|
|
||||||
run: git submodule update --init --recursive
|
|
||||||
|
|
||||||
- name: Install Ninja
|
- name: Install Ninja
|
||||||
uses: ashutoshvarma/setup-ninja@master
|
uses: ashutoshvarma/setup-ninja@master
|
||||||
with:
|
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]
|
cxx_standard: [11, 14, 17, 20]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
run: sudo apt update && sudo apt install libgl-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev
|
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
|
- name: Install Ninja
|
||||||
uses: ashutoshvarma/setup-ninja@master
|
uses: ashutoshvarma/setup-ninja@master
|
||||||
with:
|
with:
|
||||||
|
7
.github/workflows/ci-windows.yml
vendored
7
.github/workflows/ci-windows.yml
vendored
@ -16,10 +16,9 @@ jobs:
|
|||||||
build_type: [Debug, Release]
|
build_type: [Debug, Release]
|
||||||
cxx_standard: [11, 14, 17, 20]
|
cxx_standard: [11, 14, 17, 20]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
- name: Update Submodules
|
submodules: recursive
|
||||||
run: git submodule update --init --recursive
|
|
||||||
|
|
||||||
- name: Setup MSVC
|
- name: Setup MSVC
|
||||||
uses: TheMrMilchmann/setup-msvc-dev@v1
|
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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Update Submodules
|
- name: Update Submodules
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive
|
|
||||||
cd Vulkan-Headers
|
cd Vulkan-Headers
|
||||||
VK_HEADER_GIT_TAG=$(git tag --points-at HEAD | head -n1)
|
VK_HEADER_GIT_TAG=$(git tag --points-at HEAD | head -n1)
|
||||||
git checkout $VK_HEADER_GIT_TAG
|
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]
|
cxx_standard: [11]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
run: sudo apt install clang-format-15
|
run: sudo apt install clang-format-15
|
||||||
|
|
||||||
- name: Update Submodules
|
- name: Update Submodules
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive
|
|
||||||
cd Vulkan-Headers
|
cd Vulkan-Headers
|
||||||
VK_HEADER_GIT_TAG=$(git describe --always --tags $(git rev-list --tags) | grep 'v[0-9]\.' | head -n1)
|
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"
|
echo "New revision of Vulkan-Headers: $VK_HEADER_GIT_TAG"
|
||||||
|
Loading…
Reference in New Issue
Block a user