Skip to content

Commit

Permalink
separate workflow for pr
Browse files Browse the repository at this point in the history
  • Loading branch information
gsass1 committed Sep 19, 2024
1 parent 53e2056 commit 7e75e98
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: NTop CI
# Trigger on every master branch push and pull request
on:
push:
pull_request:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: NTop PR CI

# Trigger on every master branch push and pull request
on:
pull_request:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Run CMake
run: cmake -DCMAKE_BUILD_TYPE=Release .

- name: Run Build
run: cmake --build . --config Release

0 comments on commit 7e75e98

Please sign in to comment.