We found that certain bugs appear in macOS but not in Linux, which was hard to spot since we only tested on Linux. For example, system time representation can differ across operating systems.
This PR fixes it by adding Windows and macOS CI jobs for each commit/PR.
Changes
The change wasn't straightforward because the build initially failed on Windows and macOS due to:
Compatibility issues with Windows for pprof dependency
A failed build script for the data-pdf crate on macOS, causing the entire workspace build to fail
This PR resolves the issues by:
Removing the dependency on pprof to fix the Windows build
Correcting the path of libpdfium in the build script for the data-pdf crate
Currently, we only run CI tests for macOS Intel because using macOS ARM requires payment for GitHub Actions. See more information in macOS runner pricing
For now, we've added support for macOS Intel and included a GitHub Actions workflow for macOS ARM. Just as a placeholder within the release job, which is not yet implemented, with a "FIXME".
It may be reasonable to run macOS ARM tests exclusively for release builds.
Other changes made include adding the logo to the README and including badges for CI and the license.
Description
We found that certain bugs appear in macOS but not in Linux, which was hard to spot since we only tested on Linux. For example, system time representation can differ across operating systems. This PR fixes it by adding Windows and macOS CI jobs for each commit/PR.
Changes
The change wasn't straightforward because the build initially failed on Windows and macOS due to:
pprof
dependencydata-pdf
crate on macOS, causing the entire workspace build to failThis PR resolves the issues by:
pprof
to fix the Windows buildlibpdfium
in the build script for thedata-pdf
crateCurrently, we only run CI tests for macOS Intel because using macOS ARM requires payment for GitHub Actions. See more information in macOS runner pricing
For now, we've added support for macOS Intel and included a GitHub Actions workflow for macOS ARM. Just as a placeholder within the release job, which is not yet implemented, with a "FIXME". It may be reasonable to run macOS ARM tests exclusively for release builds.
Other changes made include adding the logo to the README and including badges for CI and the license.