chore: add Prettier action, bump actions/checkout version #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main CI | |
on: | |
pull_request: | |
branches: [main, feature/*] | |
workflow_dispatch: | |
env: | |
VCPKG_COMMIT_ID: 095ee8757ec933b22d445738d2dbb1ce89bb8021 | |
jobs: | |
build-and-test-vcpkg: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: | |
- msvc | |
- clang-cl | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup MSVC Environment | |
uses: ilammy/[email protected] | |
- name: Setup vcpkg | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }} | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: "3.26" | |
- name: Generate | |
run: cmake -B "${{ github.workspace }}/build" -S "${{ github.workspace }}/CommonLibSF" --preset=build-release-${{ matrix.compiler }} | |
- name: Build | |
run: cmake --build "${{ github.workspace }}/build" --config release |