Skip to content

Bump step-security/harden-runner from 2.6.0 to 2.6.1 #99

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

Bump step-security/harden-runner from 2.6.0 to 2.6.1 #99

Workflow file for this run

name: cmake-macos
on:
push:
branches: [ main ]
pull_request:
types: [ opened, synchronize ]
permissions:
contents: read
jobs:
macos-13:
name: MacOS
runs-on: macos-${{ matrix.os }}
concurrency:
group: '${{ matrix.type }} ${{ matrix.cfg }} ${{ github.workflow }} ${{ matrix.os}} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
strategy:
matrix:
os: [13, 12, 11]
type: [ BUILD_SHARED_LIBS=OFF, BUILD_SHARED_LIBS=ON ]
cfg: [ Debug, Release ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: recursive
- 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 }}