[Snek] [keith-packard/snek] 2e03be: New snek build workflow

Keith Packard noreply at github.com
Sat Nov 23 22:17:24 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 2e03beafe8d84a026a2dd51337ff0e76e30837cc
      https://github.com/keith-packard/snek/commit/2e03beafe8d84a026a2dd51337ff0e76e30837cc
  Author: Paulo Henrique Silva <ph.silva at gmail.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    A .github/workflows/snek.yml

  Log Message:
  -----------
  New snek build workflow

Use new Github Actions system to implement a CI.

This workflow depends on phsilva/snek image on docker hub. That
image proves all required dependencies built from Debian unstable
necessary to build all snek ports, including qemu based.


  Commit: e9431046e9365e4cb519cf4fc8f7dd998ff17c8a
      https://github.com/keith-packard/snek/commit/e9431046e9365e4cb519cf4fc8f7dd998ff17c8a
  Author: Paulo Henrique Silva <ph.silva at carta.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    A Dockerfile
    M Makefile

  Log Message:
  -----------
  Add Dockerfile to build snek toolchain image for GH actions


  Commit: c33afdab383b5ccb0629c653a91208f95e63a57b
      https://github.com/keith-packard/snek/commit/c33afdab383b5ccb0629c653a91208f95e63a57b
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M chips/atmega/snek-atmega.defs
    M chips/avr/snek-avr.defs
    R chips/avr/strtod.c
    A snek-strtof.c

  Log Message:
  -----------
  Use the smaller strtof implementation on all ATmel ports

This version saves hundreds of bytes of memory.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 8928510314e6128accc030945c349818a2a03f8a
      https://github.com/keith-packard/snek/commit/8928510314e6128accc030945c349818a2a03f8a
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M snek-error.c
    M snek.h

  Log Message:
  -----------
  Define snek_panic also when DEBUG_MEMORY is defined

We need snek_panic whenever SNEK_DEBUG is non-zero, or when
DEBUG_MEMORY is defined. Fix the declaration and definition of the
function to suit.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: f971bbeb46190a383a797cbc964979b8012fa665
      https://github.com/keith-packard/snek/commit/f971bbeb46190a383a797cbc964979b8012fa665
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M chips/samd21/ao-interrupt.c

  Log Message:
  -----------
  chips/samd21: Correct samd21_interrupt_vector type

The interrupt vector is a constant array of pointer to function taking
(void) and returning void.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: d8076efc453b5e16ad30b082a70ee8fdec7a66fa
      https://github.com/keith-packard/snek/commit/d8076efc453b5e16ad30b082a70ee8fdec7a66fa
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M ports/qemu-arm/.gitignore
    M ports/qemu-arm/Makefile
    R ports/qemu-arm/run-arm.in
    A ports/qemu-arm/snek-arm.in

  Log Message:
  -----------
  ports/qemu-arm: rename script that runs the qemu-arm port

Call it 'snek-arm' instead of 'run-arm'. This will make reading the
test logs a bit clearer.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 407cef3282d543e62c32618cc00b0f905dd1e58d
      https://github.com/keith-packard/snek/commit/407cef3282d543e62c32618cc00b0f905dd1e58d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M ports/qemu-riscv/.gitignore
    R ports/qemu-riscv/run-riscv.in
    A ports/qemu-riscv/snek-riscv.in

  Log Message:
  -----------
  ports/qemu-riscv: rename script that runs the qemu-riscv port

Call it 'snek-riscv' instead of 'run-riscv'. This will make reading the
test logs a bit clearer.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 59f5eadc402e3cbd9ea37ebf8c37641e511099f3
      https://github.com/keith-packard/snek/commit/59f5eadc402e3cbd9ea37ebf8c37641e511099f3
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M doc/Makefile
    M ports/crickit/Makefile
    M ports/feather/Makefile
    M ports/itsybitsym0/Makefile
    M ports/mega/Makefile
    M ports/metrom0/Makefile
    M ports/nano33iot/Makefile
    M ports/playground/Makefile
    M ports/posix/Makefile
    M ports/qemu-arm/Makefile
    M ports/qemu-riscv/Makefile
    M ports/snekboard/Makefile

  Log Message:
  -----------
  Clean up 'make install'

Stop installing snekboard .elf file

Make sure 'make install' builds everything necessary so that
a preceding 'make all' is not required.

Add dependency for doc/coderay-asciidoctor.css so that Make knows when
it will be built.

Install snek-riscv and snek-arm scripts to let users run them if they
like (they're in $(SHAREDIR), so not on the usual PATH).

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: e8a70ff2d8f532c92487fd7f680fad92d6d3924d
      https://github.com/keith-packard/snek/commit/e8a70ff2d8f532c92487fd7f680fad92d6d3924d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M chips/qemu/snek-qemu.builtin
    M chips/qemu/snek-qemu.c
    M chips/qemu/snek-qemu.h

  Log Message:
  -----------
  chips/qemu: Semihosting file i/o and time

Add enough semihosting support to run the Snek test suite. That
includes file I/O, time functions and the random number generator.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 9fd10f487826789c63cd3d3dc25cfa1040e98782
      https://github.com/keith-packard/snek/commit/9fd10f487826789c63cd3d3dc25cfa1040e98782
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M test/slice.py

  Log Message:
  -----------
  test: Shrink slice test to run in reasonable time under qemu

This still tests all of the cases in the slice code, but runs in a lot
less time so it's reasonable to test the RISC-V and ARM ports under QEMU.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 389cd9d3b5b88a2edcf728536548f314835243ce
      https://github.com/keith-packard/snek/commit/389cd9d3b5b88a2edcf728536548f314835243ce
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M test/Makefile

  Log Message:
  -----------
  test: Set up for testing under QEMU

This will run all of the tests under QEMU for ARM, but is disabled for
now until upstream qemu and picolibc with necessary support is
released.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 54b523c865c7b7b71edb5a966b34c7d4293de2a5
      https://github.com/keith-packard/snek/commit/54b523c865c7b7b71edb5a966b34c7d4293de2a5
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    A .github/workflows/snek.yml
    A Dockerfile
    M Makefile

  Log Message:
  -----------
  Merge remote-tracking branch 'phsilva/gh-actions'


  Commit: 55e8839cc287843cecc622502ebf2149de494533
      https://github.com/keith-packard/snek/commit/55e8839cc287843cecc622502ebf2149de494533
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M .github/workflows/snek.yml

  Log Message:
  -----------
  Use make install to create artifacts

Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/d0f7a54436a6...55e8839cc287


More information about the Snek mailing list