diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..dc6fc79 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build commit artifact + +on: + push: + branches: + - master + +jobs: + Building: + runs-on: [ubuntu-latest] + + steps: + - uses: actions/checkout@v1 + - name: Build Makefile with CMake + run: cmake . + - name: Build with Makefile + run: make + - name: Archive production artifact + uses: actions/upload-artifact@v1 + with: + name: ComSquare + path: ComSquare diff --git a/.github/workflows/actions.yml b/.github/workflows/test.yml similarity index 71% rename from .github/workflows/actions.yml rename to .github/workflows/test.yml index 628c7e0..396cc05 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Build commit artifact +name: Testing current commit on: push: @@ -6,21 +6,6 @@ on: - master jobs: - Building: - runs-on: [ubuntu-latest] - - steps: - - uses: actions/checkout@v1 - - name: Build Makefile with CMake - run: cmake . - - name: Build with Makefile - run: make - - name: Archive production artifact - uses: actions/upload-artifact@v1 - with: - name: ComSquare - path: ComSquare - Testing: runs-on: [ubuntu-latest]