Skip to content

0.2.21

0.2.21 #333

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Set PATH
run: echo "$(pwd)/target/debug:$PATH" >> $GITHUB_PATH
- uses: actions/checkout@v3
with:
repository: 'guybedford/chomp-extensions'
path: 'chomp-extensions'
- name: Run Core Tests
run: chomp -c test/chompfile.toml test
env:
CHOMP_CORE: ../chomp-extensions
- name: Run Template Tests
run: chomp -c chomp-extensions/chompfile.toml test
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: cargo
- name: Build
run: cargo build --verbose
- name: Set PATH
run: echo echo "$(pwd)/target/debug" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: actions/checkout@v3
with:
repository: 'guybedford/chomp-extensions'
path: 'chomp-extensions'
- name: Run Core Tests
run: chomp -c test/chompfile.toml test
env:
CHOMP_CORE: ../chomp-extensions
- name: Run Template Tests
run: chomp -c chomp-extensions/chompfile.toml test