Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Nov 27, 2024
1 parent d935e9a commit 30f3433
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 30f3433

Please sign in to comment.