diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51f238e..1aa1056 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,34 @@ jobs: --ignore=ratc/ \ --ignore=linktest/ + julia-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + julia-version: ['1.10', '1'] + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + cache: 'pip' + + - uses: julia-actions/setup-julia@v3 + with: + version: ${{ matrix.julia-version }} + + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-ci.txt + + - name: Run Julia tests + run: julia --color=yes tests/julia/runtests.jl + shell: bash + java-test: runs-on: ubuntu-latest steps: diff --git a/tests/julia/test_interop.jl b/tests/julia/test_interop.jl index 662e8a8..1a90e48 100644 --- a/tests/julia/test_interop.jl +++ b/tests/julia/test_interop.jl @@ -101,6 +101,8 @@ assert concore.simtime == 7.0, concore.simtime end function cxx_compiler() + Sys.iswindows() && return nothing + for name in ("g++", "clang++") compiler = Sys.which(name) compiler !== nothing && return compiler