diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ebbc6db --- /dev/null +++ b/.github/workflows/build.yml @@ -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/checkout@v4.1.7 + + - name: Build Project + uses: threeal/cmake-action@v1.3.0 + with: + options: MUSEN_BUILD_EXAMPLES=ON + run-build: true diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/test.yml similarity index 66% rename from .github/workflows/build-and-test.yml rename to .github/workflows/test.yml index a0cbad2..4ec5c6a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/test.yml @@ -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/checkout@v4.1.7 - name: Build project uses: threeal/cmake-action@v1.3.0 with: - options: MUSEN_BUILD_TESTS=ON MUSEN_BUILD_EXAMPLES=ON + options: MUSEN_BUILD_TESTS=ON run-build: true - name: Test project