Skip to content

Use dlopen2

Use dlopen2 #22

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
rust:
name: deno_native_certs-${{ matrix.os }}
if: |
github.event_name == 'push' ||
!startsWith(github.event.pull_request.head.label, 'denoland:')
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os: [macOS-latest, ubuntu-20.04-xl, windows-2019]
env:
CARGO_INCREMENTAL: 0
GH_ACTIONS: 1
RUST_BACKTRACE: full
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: true
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Format
if: contains(matrix.os, 'ubuntu')
run: |
deno fmt --check --ignore=target/
cargo fmt --all -- --check
- name: Build
run: cargo build --release --all-targets --all-features
- name: Test
run: cargo test --release --all-targets --all-features
- name: Test (macOS linking)
if: contains(matrix.os, 'macOS')
run: ./test.ts