Skip to content

attempt CI tinygo build #2

attempt CI tinygo build

attempt CI tinygo build #2

Workflow file for this run

---
name: TinyGo
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
env:
core: |
backoff
base64
exp: |
acpicat
extra: |
tsort
# core:("backoff" "base64" "basename" "blkid" "brctl" "cat" "chmod" "chroot"
# "cmp" "comm" "cp" "cpio" "date" "dd" "df" "dirname" "dmesg" "du" "echo"
# "false" "find" "free" "fusermount" "gpgv" "gpt" "grep" "gzip" "head" "hexdump"
# "hostname" "hwclock" "id" "kill" "lddfiles" "ln" "losetup" "ls" "lsdrivers"
# "lsmod" "man" "md5sum" "mkdir" "mkfifo" "mknod" "mktemp" "more" "mount" "mv"
# "ntpdate" "pci" "poweroff" "printenv" "ps" "pwd" "readlink" "realpath" "rm"
# "rsdp" "scp" "seq" "shasum" "shutdown" "sleep" "sort" "strace" "strings"
# "stty" "sync" "tail" "tar" "time" "timeout" "touch" "tr" "true" "truncate"
# "ts" "tty" "umount" "uname" "uniq" "unmount" "unshare" "uptime" "watchdog"
# "wc" "which" "xargs" "yes")
# exp:("acpicat" "acpigrep" "ansi" "bootvars" "bzimage" "cbmem" "crc"
# "disk_unlock" "dmidecode" "dumpebda" "dumpmemmap" "ectool" "ed" "efivarfs"
# "fbsplash" "fdtdump" "field" "fixrsdp" "forth" "freq" "getty" "hdparm"
# "ipmidump" "kconf" "lsfabric" "madeye" "nvme_unlock" "page" "partprobe" "pox"
# "readelf" "readpe" "run" "rush" "smbios_transfer" "smn" "srvfiles" "ssh"
# "syscallfilter" "tac" "tcz" "watch" "zbi" "zimage")
# extra:("tsort)
build:

Check failure on line 44 in .github/workflows/tinygo.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tinygo.yml

Invalid workflow file

You have an error in your yaml syntax on line 44
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.33.0'
- name: Build
run: |
for cmd in ${core[@]} ${exp[@]} ${exp[@]}; do
tinygo build -tags noasm $cmd
done
- name: Failing
run: |
corepat=\($(IFS=\|; echo "${core[*]}")\)
echo ${corepat}