Skip to content

build

build #542

Workflow file for this run

name: build
env:
OS_STR_BYTES_CHECKED_CONVERSIONS: 1
on:
pull_request:
push:
branches:
- master
schedule:
- cron: 0 0 * * FRI
jobs:
build:
runs-on: ${{ matrix.platform }}
env:
__OS_STR_BYTES_CI: 1
steps:
- uses: dylni/build-actions/build@master
timeout-minutes: 10
strategy:
matrix:
platform: [ubuntu-latest, windows-latest]
build-other:
needs: [build]
runs-on: ubuntu-latest
env:
__OS_STR_BYTES_CI: 1
steps:
- uses: dylni/build-actions/build-other@master
with:
target: ${{ matrix.target }}
version: ${{ matrix.version }}
timeout-minutes: 10
strategy:
matrix:
target: [wasm32-unknown-unknown, wasm32-wasi, x86_64-unknown-redox]
version: [1.74.0, stable, beta, nightly]
include:
- target: x86_64-fortanix-unknown-sgx
version: nightly
- target: x86_64-unknown-uefi
version: nightly
test:
needs: [build]
runs-on: ${{ matrix.platform }}
steps:
- uses: dylni/build-actions/test@master
with:
version: ${{ matrix.version }}
- run: cargo test --no-default-features --features raw_os_str
timeout-minutes: 10
strategy:
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
version: [1.74.0, stable, beta, nightly]