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 554c937
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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
run-build: true
Original file line number Diff line number Diff line change
@@ -1,21 +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
options: MUSEN_BUILD_TESTS=ON
run-build: true

- name: Test project
Expand Down

0 comments on commit 554c937

Please sign in to comment.