Giter Site home page Giter Site logo

umarcor / issue-runner Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 2.0 1.95 MB

Execute Minimal Working Examples (MWEs) defined in the body of Markdown files or GitHub issues.

Home Page: https://umarcor.github.io/issue-runner

License: Apache License 2.0

Shell 6.73% TypeScript 33.59% JavaScript 2.43% Dockerfile 0.15% Go 57.10%
issue issue-template mwe example runner-script docker action actions issue-runner mwes

issue-runner's Issues

[LCS-2016-001] Partially Connected Vectors on Port Map

Ref LCS page

Allow for vectors to be partially connected in the port map

Minimal Working Example

signal not_so_long_vector : std_logic_vector(15 downto 0);

component Some_Device is
    port (
        long_port : std_logic_vector(31 downto 0)
    );
end component Some_Device;

U1 : Some_Device port map(
    long_port(15 downto 0) => not_so_long_vector,
    long_port(31 downto 16) => open
);

[LCS-2016-006e] Allow access to system environment variables (baseline)

Ref LCS page

Allow access to system environment variables (baseline)

Minimal Working Example

-- Check a configuration file in the user's home directory
use std.env.all;
use std.textio.all;

impure function GetConfig return boolean is
    file config : text;
    variable home, data : line;
    variable result : boolean;
begin
    home := GETENV("HOME");
    assert home /= null report "No HOME environment variable";
    FILE_OPEN(config,
        home.all & DIR_SEPARATOR &
        ".config" & DIR_SEPARATOR &
        "myapp.txt",
        read_mode
    );
    READ_LINE(config, data);
    READ(data, result);
    FILE_CLOSE(config);
    return result;
end function GetConfig;

Test issue

This is the body of a test issue

#!/usr/bin/env sh
env

#:file: run

[test] ghdl/ghdl#579

entity ent is
  generic (
    max : natural);
  port (
    p : out natural range 1 to max := 3);
end entity;

architecture a of ent is
begin
end;
entity ent2 is
end entity;

architecture a of ent2 is
  constant max : natural := 2;
  signal p : natural range 1 to max;
begin

  inst : entity work.ent
    generic map (max => max)
    port map (p => p);
end;
ghdl --version
ghdl -a ent.vhd
ghdl -a ent2.vhd
ghdl --elab-run ent2

Update section 'Create a new release branch' of the README

Since a bundler (webpack) is used now, creation of new release branches is easier. Only four files need to be published (README.md, action.yml, main.js, and main.js.map). Instructions should be updated accordingly. I.e., there is no need to remove items explicitly (git rm -rf *.json *config.js *.lock .github .gitignore .v0 __tests__ src examples cli.sh); it should be remove everything except 'dist'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.