Skip to content

Bump step-security/harden-runner from 2.6.0 to 2.7.0 #108

Bump step-security/harden-runner from 2.6.0 to 2.7.0

Bump step-security/harden-runner from 2.6.0 to 2.7.0 #108

Workflow file for this run

name: cmake-ios
on:
push:
branches: [ main ]
pull_request:
types: [ opened, synchronize ]
permissions:
contents: read
jobs:
ios:
name: iOS
runs-on: macos-latest
strategy:
matrix:
type: [ BUILD_SHARED_LIBS=OFF, BUILD_SHARED_LIBS=ON ]
cfg: [ Debug, Release ]
concurrency:
group: '${{ matrix.type }} ${{ matrix.cfg }} ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: recursive
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
with:
xcode-version: latest-stable
- uses: humbletim/setup-vulkan-sdk@72eed4b9dbeac5de168f83da8e30b1d0f8ac7f14 # v1.2.0
with:
vulkan-query-version: latest
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang
vulkan-use-cache: true
- run: |
cmake . -B build -D${{ matrix.type }} --install-prefix ${{ github.workspace }}/install -DCMAKE_INSTALL_DIR=${{ github.workspace }}/install -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE
cmake --build ${{ github.workspace }}/build --config ${{ matrix.cfg }}
cmake --install ${{ github.workspace }}/build --config ${{ matrix.cfg }}