From 15187c31a85b1391b22497cfee4a2ddcde853982 Mon Sep 17 00:00:00 2001 From: xTrayambak Date: Thu, 14 Mar 2024 12:44:54 +0530 Subject: [PATCH] (feat) add github CI --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0f36031 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +on: + push: + pull_request: + +jobs: + test: + strategy: + matrix: + os: + - windows-latest + - macos-latest + - ubuntu-latest + nimversion: + - devel + - stable + + name: ${{ matrix.os }} - ${{ matrix.nimversion }} + runs-on: ${{ matrix.os }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v4 + - uses: jiro4989/setup-nim-action@v1 + with: + nim-version: ${{ matrix.nimversion }} + - run: nimble productionBuild