Skip to content

Commit

Permalink
build: only test rust stable on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Jan 2, 2024
1 parent 6ec2f88 commit a50271f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
with_rust: ['true', 'false']
rust_version: ['1.70', 'stable']
rust_version: ['1.70']
include:
- os: ubuntu-latest
with_rust: true
rust_version: stable
- os: ubuntu-latest
c_compiler: cc
- os: windows-latest
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ elseif(MSVC)
if(MSVC_VERSION LESS 1900)
add_compile_definitions(snprintf=_snprintf)
endif()

set(BUILD_SHARED_LIBS OFF)
endif()


Expand Down

0 comments on commit a50271f

Please sign in to comment.