NickelEval.jl

Julia FFI bindings for Nickel configuration language
Log | Files | Refs | README | LICENSE

CI.yml (726B)


      1 name: CI
      2 
      3 on:
      4   push:
      5     branches:
      6       - main
      7     tags: '*'
      8   pull_request:
      9 
     10 jobs:
     11   test:
     12     runs-on: ubuntu-latest
     13     steps:
     14       - uses: actions/checkout@v4
     15       - uses: julia-actions/setup-julia@v2
     16         with:
     17           version: '1'
     18       - uses: julia-actions/cache@v2
     19       - name: Install Rust
     20         uses: dtolnay/rust-toolchain@stable
     21       - name: Cache Rust build
     22         uses: actions/cache@v4
     23         with:
     24           path: deps/_nickel_src/target
     25           key: nickel-capi-${{ runner.os }}-1.16.0
     26       - name: Build Nickel C API
     27         run: NICKELEVAL_BUILD_FFI=true julia --project=. deps/build.jl
     28       - name: Run tests
     29         run: julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.test()'