Skip to content

Pin GitHub Actions to full-length commit SHAs (#337) #30

Pin GitHub Actions to full-length commit SHAs (#337)

Pin GitHub Actions to full-length commit SHAs (#337) #30

Workflow file for this run

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
#
# http://go.microsoft.com/fwlink/?LinkID=615560
name: 'CMake (MacOS)'
on:
push:
branches: "main"
paths-ignore:
- '*.md'
- LICENSE
- '.azuredevops/**'
- '.github/*.md'
- '.nuget/*'
- build/*.ps1
pull_request:
branches: "main"
paths-ignore:
- '*.md'
- LICENSE
- '.azuredevops/**'
- '.github/*.md'
- '.nuget/*'
- build/*.ps1
permissions:
contents: read
jobs:
build:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
build_type: [arm64-Debug-Linux, arm64-Release-Linux]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Clone test repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: walbourn/directxmathtest
path: Tests
ref: main
- name: 'Configure CMake'
working-directory: ${{ github.workspace }}
run: cmake --preset=${{ matrix.build_type }}
- name: 'Build'
working-directory: ${{ github.workspace }}
run: cmake --build out/build/${{ matrix.build_type }}