From 668a79f9f91b65a00bf7290bd3f01c3a5125955a Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 4 Mar 2024 17:46:57 +0100 Subject: [PATCH] Add Windows to CI (#3548) --- .github/workflows/ci.yml | 6 ++++-- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a11f24dd..d0ab420d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,14 @@ env: jobs: tests: name: Tests - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: cargo build --workspace - run: cargo test --workspace --no-fail-fast checks: diff --git a/Cargo.lock b/Cargo.lock index d512d166..b0744b32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2659,7 +2659,7 @@ dependencies = [ [[package]] name = "typst-dev-assets" version = "0.10.0" -source = "git+https://github.com/typst/typst-dev-assets?rev=1dba4be#1dba4bea22e5e19597fbf5f321b047ff7626e2d0" +source = "git+https://github.com/typst/typst-dev-assets?rev=c63ab46#c63ab467b6d2242b7993b81c1156b915486bcf02" [[package]] name = "typst-docs" diff --git a/Cargo.toml b/Cargo.toml index 3df6e051..8fdbde57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ typst-svg = { path = "crates/typst-svg" } typst-syntax = { path = "crates/typst-syntax" } typst-timing = { path = "crates/typst-timing" } typst-assets = { git = "https://github.com/typst/typst-assets", rev = "79e1c84" } -typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "1dba4be" } +typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "c63ab46" } az = "1.2" base64 = "0.21.2" bitflags = { version = "2", features = ["serde"] }