Add Windows to CI (#3548)

This commit is contained in:
Laurenz 2024-03-04 17:46:57 +01:00 committed by GitHub
parent e3bd39c9d1
commit 668a79f9f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View file

@ -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:

2
Cargo.lock generated
View file

@ -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"

View file

@ -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"] }