Drop idris/bun from CI
This commit is contained in:
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/stefan-hoeck/idris2-pack:latest
|
||||
# container: ghcr.io/stefan-hoeck/idris2-pack:latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -20,11 +20,11 @@ jobs:
|
||||
node-version: 18
|
||||
- name: setup
|
||||
run: |
|
||||
apt update
|
||||
apt-get install -y zip
|
||||
pack install contrib
|
||||
- name: use bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y zip
|
||||
# pack install contrib
|
||||
# - name: use bun
|
||||
# uses: oven-sh/setup-bun@v2
|
||||
- name: build
|
||||
run: |
|
||||
make
|
||||
|
||||
3
Makefile
3
Makefile
@@ -7,7 +7,8 @@ RUNJS=node
|
||||
|
||||
.PHONY:
|
||||
|
||||
all: build/exec/newt build/exec/newt.js build/exec/newt.min.js newt.js
|
||||
# all: build/exec/newt build/exec/newt.js build/exec/newt.min.js newt.js
|
||||
all: newt.js
|
||||
|
||||
# Original idris version
|
||||
|
||||
|
||||
1
playground/samples/newt
Symbolic link
1
playground/samples/newt
Symbolic link
@@ -0,0 +1 @@
|
||||
../../src
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
SAMPLES=$(find playground/samples -name "*.newt")
|
||||
NCC="bun run newt.js"
|
||||
# NCC="bun run newt.js"
|
||||
NCC="node newt.js"
|
||||
total=0
|
||||
failed=0
|
||||
for fn in tests/*.newt ; do
|
||||
|
||||
Reference in New Issue
Block a user