Skip to content

Commit

Permalink
Update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuihantao committed Feb 4, 2024
1 parent 8ca9be3 commit a6e7cff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.8'
- '1.10'
- 'nightly'
os:
- ubuntu-latest
Expand All @@ -33,28 +33,6 @@ jobs:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- name: Fix weird Conda.jl/PyCall.jl build error
env:
PYTHON: ""
shell: julia --color=yes {0}
run: |
using Pkg
try
Pkg.instantiate()
println("Successfully instantiated the test environment")
catch e
display(e)
end
ENV["PYTHON"] = ""
Pkg.add("Conda")
println("Try building Conda and PyCall")
try
Pkg.build("Conda")
using Conda
println("Successfully built Conda")
catch e
display(e)
end
- uses: julia-actions/julia-buildpkg@v1
env:
PYTHON: "" # for conda packages
Expand Down
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[compat]
Pkg = "1.3.0"
PythonCall = "0.9.15"
julia = "1.3.1"

Expand Down

0 comments on commit a6e7cff

Please sign in to comment.