ci : deps before checkout

This commit is contained in:
Georgi Gerganov 2024-05-08 10:24:53 +03:00
parent 2c7ff2c7ae
commit 9d13776f34
No known key found for this signature in database
GPG key ID: BF970631944C16B7

View file

@ -13,15 +13,15 @@ jobs:
run: run:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Checkout
uses: actions/checkout@v4
- name: Dependencies - name: Dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install build-essential gcc-8 lcov git-lfs sudo apt-get install build-essential gcc-8 lcov git-lfs
git-lfs install git-lfs install
- name: Checkout
uses: actions/checkout@v4
- name: Build - name: Build
run: CC=gcc-8 make -j LLAMA_CODE_COVERAGE=1 tests run: CC=gcc-8 make -j LLAMA_CODE_COVERAGE=1 tests