From 30f3433f45a6068ecbd14ae3c3234ef04783949f Mon Sep 17 00:00:00 2001 From: Hung-I Wang Date: Wed, 27 Nov 2024 15:48:16 +0800 Subject: [PATCH] bump --- .github/workflows/main.yml | 64 +++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28b2c10..20a5b4f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,43 +48,43 @@ jobs: - name: Check Format run: cargo fmt -- --check - build-pyo3: - needs: build-main - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Symlink README - run: | - cd pyo3/ - ln -s ../README.md ./ - - uses: messense/maturin-action@v1 - with: - manylinux: auto - command: build - args: --release --sdist -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml - - # build-typst: + # build-pyo3: # needs: build-main # runs-on: ubuntu-latest - # defaults: - # run: - # working-directory: typst/ # steps: # - uses: actions/checkout@v3 - # - name: Build + # - name: Symlink README # run: | - # cargo --version - # cargo build --release --verbose --target wasm32-unknown-unknown - # - name: Test - # run: cargo test --verbose --target wasm32-unknown-unknown - # - name: Clippy - # run: cargo clippy --target wasm32-unknown-unknown --all-features -- -D warnings - # - name: Check Format - # run: cargo fmt -- --check - # - name: Install Typst: - # run: curl -fsSL https://typst.community/typst-install/install.sh | sh - # - name: Typst Compile - # run: typst compile example.typ + # cd pyo3/ + # ln -s ../README.md ./ + # - uses: messense/maturin-action@v1 + # with: + # manylinux: auto + # command: build + # args: --release --sdist -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml + + build-typst: + needs: build-main + runs-on: ubuntu-latest + defaults: + run: + working-directory: typst/ + steps: + - uses: actions/checkout@v3 + - name: Build + run: | + cargo --version + cargo build --release --verbose --target wasm32-unknown-unknown + - name: Test + run: cargo test --verbose --target wasm32-unknown-unknown + - name: Clippy + run: cargo clippy --target wasm32-unknown-unknown --all-features -- -D warnings + - name: Check Format + run: cargo fmt -- --check + - name: Install Typst: + run: curl -fsSL https://typst.community/typst-install/install.sh | sh + - name: Typst Compile + run: typst compile example.typ # now Pages.dev do this for us # build-web: