From d8c2cde120d81bc090583bcf95d93274f2ee9cab Mon Sep 17 00:00:00 2001 From: luxick Date: Wed, 20 Nov 2019 21:42:21 +0100 Subject: [PATCH] Add build test action --- .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..0d56d2b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test Build + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + - name: Cache choosenim + id: cache-choosenim + uses: actions/cache@v1 + with: + path: ~/.choosenim + key: ${{ runner.os }}-choosenim-stable + - name: Cache nimble + id: cache-nimble + uses: actions/cache@v1 + with: + path: ~/.nimble + key: ${{ runner.os }}-nimble-stable + - uses: jiro4989/setup-nim-action@v1.0.1 + - run: nimble build -Y + - run: nimble test -Y