-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include Windows and macOS Targets for CI (#39)
* feat(data-pdf): fix `libpdfium` path in build script for macOS Signed-off-by: Tarek <[email protected]> * fix(windows): remove dependency on `pprof`, incompatible with windows `pprof` was only used for profiling benchmarks which is not critical. This was causing issues for building `ark-rust` on windows Signed-off-by: Tarek <[email protected]> * feat(ci): add macOS and windows jobs to github actions Both run with each commit Signed-off-by: Tarek <[email protected]> * feat(ci): add a github workflow for binary releases We're holding off on adding a macOS ARM check to our build workflow because it involves expenses. Testing it for every PR or commit might not be worth it, so we'll include it in the release workflow instead. Since we haven't set up a release workflow yet, we'll treat it as a reminder to run it when we do release builds. Signed-off-by: Tarek <[email protected]> * feat(docs): add logo and CI badges to README Signed-off-by: Tarek <[email protected]> * feat(ci): add main branch workflows to run on all machines Signed-off-by: Tarek <[email protected]> * feat(ci): add mac intel to main branch ci Signed-off-by: Tarek <[email protected]> --------- Signed-off-by: Tarek <[email protected]>
- Loading branch information
1 parent
c87108b
commit babddd9
Showing
9 changed files
with
93 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Main Branch Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
# Run each week | ||
- cron: "0 0 * * 0" | ||
|
||
jobs: | ||
linux: | ||
name: Linux | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Run tests | ||
run: cargo test --workspace --verbose --release | ||
|
||
windows: | ||
name: Windows | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Run tests | ||
run: cargo test --workspace --verbose --release | ||
|
||
mac-intel: | ||
name: MacOS Intel | ||
runs-on: macos-11 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Run tests | ||
run: cargo test --workspace --verbose --release | ||
|
||
mac-arm: | ||
name: MacOS ARM | ||
runs-on: macos-13-xlarge | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Run tests | ||
run: cargo test --workspace --verbose --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters