Skip to content

Commit df783b6

Browse files
authored
Merge pull request #556 from avinxshKD/ci-julia-tests
Add Julia test matrix to CI
2 parents 3bef295 + ce714b1 commit df783b6

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,34 @@ jobs:
5555
--ignore=ratc/ \
5656
--ignore=linktest/
5757
58+
julia-test:
59+
runs-on: ${{ matrix.os }}
60+
strategy:
61+
matrix:
62+
os: [ubuntu-latest, windows-latest]
63+
julia-version: ['1.10', '1']
64+
65+
steps:
66+
- uses: actions/checkout@v4
67+
68+
- uses: actions/setup-python@v5
69+
with:
70+
python-version: '3.11'
71+
cache: 'pip'
72+
73+
- uses: julia-actions/setup-julia@v3
74+
with:
75+
version: ${{ matrix.julia-version }}
76+
77+
- name: Install Python dependencies
78+
run: |
79+
python -m pip install --upgrade pip
80+
pip install -r requirements-ci.txt
81+
82+
- name: Run Julia tests
83+
run: julia --color=yes tests/julia/runtests.jl
84+
shell: bash
85+
5886
java-test:
5987
runs-on: ubuntu-latest
6088
steps:

tests/julia/test_interop.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ assert concore.simtime == 7.0, concore.simtime
101101
end
102102

103103
function cxx_compiler()
104+
Sys.iswindows() && return nothing
105+
104106
for name in ("g++", "clang++")
105107
compiler = Sys.which(name)
106108
compiler !== nothing && return compiler

0 commit comments

Comments
 (0)