summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-03-04 17:46:57 +0100
committerGitHub <noreply@github.com>2024-03-04 17:46:57 +0100
commit668a79f9f91b65a00bf7290bd3f01c3a5125955a (patch)
tree2ccae721561761c29165e61dcf8a9b6057105880
parente3bd39c9d156a4a02a8b7398ed5769100a3d877a (diff)
Add Windows to CI (#3548)
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
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"] }