~ruther/avr-guess-the-number

e72276569ac26fad475358c932af80e43f72fcec — František Boháček 1 year, 9 months ago ac21d0a
chore: remove github workflow added by mistake
2 files changed, 0 insertions(+), 45 deletions(-)

D .github/Dockerfile.ci
D .github/workflows/docker-image.yml
D .github/Dockerfile.ci => .github/Dockerfile.ci +0 -22
@@ 1,22 0,0 @@
FROM ubuntu:18.04

RUN useradd -m avr-rust

# Install dependencies
RUN apt-get update -y && apt-get install -y wget gcc binutils gcc-avr avr-libc

RUN mkdir -p /code && chown avr-rust:avr-rust /code

USER avr-rust

# Install Rustup along with nightly
RUN wget -q https://sh.rustup.rs -O /tmp/rustup.sh && sh /tmp/rustup.sh -y --profile minimal --default-toolchain nightly -c rust-src --quiet
ENV PATH=/home/avr-rust/.cargo/bin:$PATH

COPY --chown=avr-rust:avr-rust . /code

WORKDIR /code

ENV AVR_CPU_FREQUENCY_HZ=16000000

ENTRYPOINT ["cargo"]

D .github/workflows/docker-image.yml => .github/workflows/docker-image.yml +0 -23
@@ 1,23 0,0 @@
name: Test suite

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  schedule:
  - cron: "0 2 * * 1-5"

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Prepare the Rust build environment
      run:
        docker build . --file .github/Dockerfile.ci --tag rust-avr-ci:$GITHUB_RUN_NUMBER

    - name: Compile the crate
      run:
        docker run rust-avr-ci:$GITHUB_RUN_NUMBER build --release

Do not follow this link