diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 82f8576..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,28 +0,0 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference -version: 2.1 - -orbs: - win: circleci/windows@2.2.0 - -# Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/2.0/configuration-reference/#jobs -jobs: - build: - executor: - name: win/default - shell: powershell.exe - steps: - - checkout - - run: - name: Compiling Code - command: '.\build.bat -release' - - store_artifacts: - path: 'build\ntop.exe' - -# Invoke jobs via workflows -# See: https://circleci.com/docs/2.0/configuration-reference/#workflows -workflows: - build-workflow: - jobs: - - build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..75d934a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: NTop CI + +# Trigger on every master branch push and pull request +on: + push: + pull_request: + branches: + - master + +jobs: + build: + strategy: + matrix: + targetplatform: [x86, x64] + + 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 . \ No newline at end of file