Skip to content

github: update to use git repo of master #79

github: update to use git repo of master

github: update to use git repo of master #79

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
- name: Check rust formatting (rustfmt)
run: cargo fmt --all -- --check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Set up IgH repo
run: |
git clone https://gitlab.com/etherlab.org/ethercat ethercat-git
cd ethercat-git
git checkout stable-1.5
./bootstrap
./configure --disable-8139too
- name: Build
run: ETHERCAT_PATH=$(pwd)/ethercat-git cargo build