Skip to content

Commit

Permalink
Comment out Wasm build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sanket1729 committed Mar 15, 2022
1 parent a556693 commit c1efef9
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,42 +29,42 @@ jobs:
DO_BENCH: true
run: ./contrib/test.sh

wasm:
name: Stable - Docs / WebAssembly Build
strategy:
matrix:
target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ]
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
cc: clang-12
ar: ar
- target: x86_64-apple-darwin
os: macos-latest
cc: /usr/local/opt/llvm/bin/clang
ar: /usr/local/opt/llvm/bin/llvm-ar
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Crate
uses: actions/checkout@v2
- name: Checkout Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Building docs
env:
DO_DOCS: true
run: ./contrib/test.sh
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Running WASM build
env:
DO_WASM: true
CC: ${{ matrix.cc }}
AR: ${{ matrix.ar }}
run: ./contrib/test.sh
# wasm:
# name: Stable - Docs / WebAssembly Build
# strategy:
# matrix:
# target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ]
# include:
# - target: x86_64-unknown-linux-gnu
# os: ubuntu-latest
# cc: clang-12
# ar: ar
# - target: x86_64-apple-darwin
# os: macos-latest
# cc: /usr/local/opt/llvm/bin/clang
# ar: /usr/local/opt/llvm/bin/llvm-ar
# runs-on: ${{ matrix.os }}
# steps:
# - name: Checkout Crate
# uses: actions/checkout@v2
# - name: Checkout Toolchain
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
# - name: Building docs
# env:
# DO_DOCS: true
# run: ./contrib/test.sh
# - name: Install wasm-pack
# run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# - name: Running WASM build
# env:
# DO_WASM: true
# CC: ${{ matrix.cc }}
# AR: ${{ matrix.ar }}
# run: ./contrib/test.sh

Tests:
name: Tests
Expand Down

0 comments on commit c1efef9

Please sign in to comment.