Skip to content

Commit

Permalink
Create cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EldarMuradov authored Jul 24, 2024
1 parent 5f1d821 commit 6108ea9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CMake on Windows

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false

matrix:
os: [windows-latest]
build_type: [Release]
c_compiler: [cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl

steps:
- uses: actions/checkout@v4

- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Build
run: >
./build.bat

0 comments on commit 6108ea9

Please sign in to comment.