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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/stefan-hoeck/idris2-pack:latest
|
# container: ghcr.io/stefan-hoeck/idris2-pack:latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -20,11 +20,11 @@ jobs:
|
|||||||
node-version: 18
|
node-version: 18
|
||||||
- name: setup
|
- name: setup
|
||||||
run: |
|
run: |
|
||||||
apt update
|
sudo apt-get update
|
||||||
apt-get install -y zip
|
sudo apt-get install -y zip
|
||||||
pack install contrib
|
# pack install contrib
|
||||||
- name: use bun
|
# - name: use bun
|
||||||
uses: oven-sh/setup-bun@v2
|
# uses: oven-sh/setup-bun@v2
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
make
|
make
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -7,7 +7,8 @@ RUNJS=node
|
|||||||
|
|
||||||
.PHONY:
|
.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
|
# 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
|
#!/bin/sh
|
||||||
SAMPLES=$(find playground/samples -name "*.newt")
|
SAMPLES=$(find playground/samples -name "*.newt")
|
||||||
NCC="bun run newt.js"
|
# NCC="bun run newt.js"
|
||||||
|
NCC="node newt.js"
|
||||||
total=0
|
total=0
|
||||||
failed=0
|
failed=0
|
||||||
for fn in tests/*.newt ; do
|
for fn in tests/*.newt ; do
|
||||||
|
|||||||
Reference in New Issue
Block a user