Skip to content
Merged

Next #83

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,19 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [msrv, stable, macos, win-msvc]
build: [stable, macos, windows]
include:
- build: msrv
os: ubuntu-latest
rust: 1.74.0
- build: stable
os: ubuntu-latest
rust: stable
- build: macos
os: macOS-latest
rust: stable
- build: win-msvc
os: windows-2019
- build: windows
os: windows-latest
rust: stable
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -44,4 +41,6 @@ jobs:
cargo run --features=cli -- examples/default-from-variable/ --no-input -o default
cargo run --features=cli -- examples/slugify/ --no-input -o slugify
cargo run --features=cli -- examples/super-basic/ --no-input -o super-basic
cargo run --features=cli -- examples/with-directory/ --no-input -o with-directory
cargo run --features=cli -- examples/super-basic/ -i examples/super-basic/test-input.json -o super-basic-json
cargo run --features=cli -- examples/with-directory/ --no-input -o with-directory
cargo run --features=cli -- examples/derived/ --no-input -o derived
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ jobs:
include:
- os: windows-2022
target: x86_64-pc-windows-msvc
- os: ubuntu-20.04
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
- os: ubuntu-20.04
- os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
- os: macos-13
target: x86_64-apple-darwin
- os: macos-14
target: x86_64-apple-darwin
- os: macos-15
target: aarch64-apple-darwin
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -54,6 +54,10 @@ jobs:
sudo apt-get install -y make g++ libssl-dev gcc-aarch64-linux-gnu
rustup target add aarch64-unknown-linux-gnu

- name: Install Rust crosscompile target (macOS Intel)
if: ${{ matrix.target == 'x86_64-apple-darwin' }}
run: rustup target add x86_64-apple-darwin

- name: Cargo build
run: cargo build --features=cli --release --target ${{ matrix.target }}

Expand Down
Loading