Skip to content

Commit

Permalink
ci: separate build and test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Aug 4, 2024
1 parent 8dd27dd commit 07b66ef
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
jobs:
build-project:
name: Build Project
runs-on: ubuntu-20.04
steps:
- name: Checkout Project
uses: actions/[email protected]

- name: Build Project
uses: threeal/[email protected]
with:
options: MUSEN_BUILD_EXAMPLES=ON
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
name: Build and Test
name: Test
on:
workflow_dispatch:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
build-and-test:
test-project:
name: Test Project
runs-on: ubuntu-20.04
steps:
- name: Checkout this repository
- name: Checkout Project
uses: actions/[email protected]

- name: Build project
uses: threeal/[email protected]
with:
options: MUSEN_BUILD_TESTS=ON MUSEN_BUILD_EXAMPLES=ON
run-build: true
options: MUSEN_BUILD_TESTS=ON

- name: Test project
uses: threeal/[email protected]

0 comments on commit 07b66ef

Please sign in to comment.