Skip to content

Commit

Permalink
[FIX(test)] Install libgit in the CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
haxscramper committed Nov 3, 2021
1 parent 9a6671b commit 1ba2c0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@ jobs:
path: nim
version: ${{ matrix.nim }}

- name: Setup libgit
if: ${{ matrix.os }} == 'ubuntu-latest'
run: sudo apt-get install -y libgit2-dev

- name: Run tests
shell: bash
run: |
cd ci
git fetch --unshallow
nimble --accept install [email protected]
nimble --accept develop
nimble test
Expand Down
4 changes: 2 additions & 2 deletions gittyup.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ when not defined(release):

task test, "run tests for ci":
when defined(windows):
exec """balls.cmd -d:git2Git -d:git2SetVer="v1.1.1""""
exec """balls.cmd"""
#exec """balls.cmd -d:git2Git -d:git2SetVer="v1.1.1" -d:git2Static"""
else:
exec """balls -d:git2Git -d:git2SetVer="v1.1.1""""
exec """balls"""
#exec """balls -d:git2Git -d:git2SetVer="v1.1.1" -d:git2Static"""

0 comments on commit 1ba2c0f

Please sign in to comment.