Skip to content

impl classes initial sketch #334

impl classes initial sketch

impl classes initial sketch #334

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ windows-latest, macos-latest, ubuntu-latest ]
toolchain: [nightly]
deno_version: [1.33.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno_version }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
components: rustfmt, clippy
- name: Build
run: cargo build --locked --release
- name: Build Example (debug)
working-directory: ./example
run: |
deno run -A ../cli.ts
deno test -A --unstable
- name: Build Example (release)
working-directory: ./example
shell: bash
run: |
rm -rf target
deno run -A ../cli.ts --release=../target/release
deno test -A --unstable