-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shayne Fletcher
committed
Jan 12, 2024
1 parent
ff28220
commit 3335066
Showing
5 changed files
with
55 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Cargo build and test | ||
description: Use Cargo to build and test Reindeer | ||
runs: | ||
using: composite | ||
steps: | ||
- run: cargo build --locked | ||
shell: bash | ||
- run: cargo test | ||
shell: bash |
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,16 @@ | ||
name: Setup macOS environment | ||
description: Setup macOS environment for building and testing Reindeer | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: SebRollen/[email protected] | ||
id: read_rust_toolchain | ||
with: | ||
file: rust-toolchain | ||
field: toolchain.channel | ||
- uses: dtolnay/rust-toolchain@v1 | ||
with: | ||
toolchain: ${{ steps.read_rust_toolchain.outputs.value }} | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
prefix-key: reindeer-upload |
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,16 @@ | ||
name: Setup Windows environment | ||
description: Setup Windows environment for building and testing Reindeer | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: SebRollen/[email protected] | ||
id: read_rust_toolchain | ||
with: | ||
file: rust-toolchain | ||
field: toolchain.channel | ||
- uses: dtolnay/rust-toolchain@v1 | ||
with: | ||
toolchain: ${{ steps.read_rust_toolchain.outputs.value }} | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
prefix-key: reindeer-upload |
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