From 24c55f0d1f84711df3c274b9c9672f2f385beec2 Mon Sep 17 00:00:00 2001 From: Ulises Jeremias Cornejo Fandos Date: Sun, 3 Jul 2022 19:43:18 -0300 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8517966db..5115e396b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,35 @@ jobs: cd ~ v check-md ~/.vmodules/vsl - ci: + fmt-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout VSL + uses: actions/checkout@v2 + with: + path: vsl + + - name: Setup V + uses: vlang/setup-v@v1 + with: + check-latest: true + + - name: V doctor + run: v doctor + + - name: Install dependencies + run: | + sudo apt-get install --quiet -y --no-install-recommends gfortran liblapacke-dev libopenblas-dev libgc-dev libopenmpi-dev + + - name: Move VSL source code to V Modules + run: mv ./vsl ~/.vmodules + + - name: Verify Fmt + continue-on-error: true + run: v fmt -verify ~/.vmodules/vsl + + run-tests: runs-on: ${{ matrix.os }} strategy: