Skip to content

Commit

Permalink
ci: update main_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirdEyeSqueegee committed Sep 7, 2023
1 parent a2b8d23 commit 3996e9e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Main CI

on:
push:
branches: [ main ]
paths:
- '.github/workflows/main_ci.yml'
- 'CommonLibSF/**'
pull_request:
branches: [ main, feature/* ]
workflow_dispatch:
Expand All @@ -19,9 +14,6 @@ jobs:
strategy:
fail-fast: false
matrix:
build-type:
- debug
- release
compiler:
- msvc
- clang-cl
Expand All @@ -43,7 +35,7 @@ jobs:
cmake-version: '3.26'

- name: Generate
run: cmake -B "${{ github.workspace }}/build" -S "${{ github.workspace }}/CommonLibSF" --preset=build-debug-${{ matrix.compiler }}
run: cmake -B "${{ github.workspace }}/build" -S "${{ github.workspace }}/CommonLibSF" --preset=build-release-${{ matrix.compiler }}

- name: Build
run: cmake --build "${{ github.workspace }}/build" --config ${{ matrix.build-type }}
run: cmake --build "${{ github.workspace }}/build" --config release

0 comments on commit 3996e9e

Please sign in to comment.