Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Jan 19, 2024
1 parent d95fc20 commit eac3121
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
#os: ['macos-latest', 'ubuntu-latest']
os: ['ubuntu-latest']
compiler:
- name: nim
version: version-2-0
- name: nim
version: version-1-6
- name: nim
Expand All @@ -57,7 +59,7 @@ jobs:

- if: matrix.compiler.name == 'nim'
name: Setup Nim
uses: alaviss/setup-nim@0.1.1
uses: alaviss/setup-nim@0.1.2
with:
path: nim
version: ${{ matrix.compiler.version }}
Expand Down Expand Up @@ -92,7 +94,7 @@ jobs:
with:
path: ci/libgit2
repository: libgit2/libgit2
ref: v1.5.0
ref: v1.7.1

- name: Setup libgit2
shell: bash
Expand All @@ -118,7 +120,7 @@ jobs:
./nimph doctor || true
cat nim.cfg
cd `./nimph path balls`
nim c --out:$HOME/balls --define:release balls.nim
nim c --out:$HOME/balls balls.nim
cd -
echo "remove nim's config.nims...?"
ls -l `dirname \`which nim\``/../config/
Expand Down Expand Up @@ -160,7 +162,7 @@ jobs:
- name: Publish docs
if: >
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
matrix.os == 'ubuntu-latest' && matrix.nim == 'version-1-6'
matrix.os == 'ubuntu-latest' && matrix.nim == 'version-2-0'
uses: crazy-max/ghaction-github-pages@v1
with:
build_dir: ci/docs
Expand Down

0 comments on commit eac3121

Please sign in to comment.