Skip to content

Commit

Permalink
test: Run the full set of tests for Windows ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenexp committed Nov 30, 2024
1 parent d13167d commit b4cd74a
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,33 @@ mod tests {
dir.push("aarch64-pc-windows-msvc");
dir.push("python3-dll");

generate_implib_for_target(&dir, "aarch64", "msvc").unwrap();
ImportLibraryGenerator::new("aarch64", "msvc")
.generate(&dir)
.unwrap();

for minor in 7..=13 {
ImportLibraryGenerator::new("aarch64", "msvc")
.version(Some((3, minor)))
.generate(&dir)
.unwrap();
}

// Free-threaded CPython v3.13+
for minor in 13..=13 {
ImportLibraryGenerator::new("aarch64", "msvc")
.version(Some((3, minor)))
.abiflags(Some("t"))
.generate(&dir)
.unwrap();
}

// PyPy
for minor in 7..=10 {
ImportLibraryGenerator::new("aarch64", "msvc")
.version(Some((3, minor)))
.implementation(PythonImplementation::PyPy)
.generate(&dir)
.unwrap();
}
}
}

0 comments on commit b4cd74a

Please sign in to comment.