Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/push_c.yml → .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Test for C implementations
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
name: Run test
runs-on: ubuntu-22.04
runs-on: self-hosted
container:
image: buildpack-deps:jammy
defaults:
run:
working-directory: ./test
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/push_cpp.yml → .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Test for C++ implementations
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
name: Run test
runs-on: ubuntu-22.04
runs-on: self-hosted
container:
image: buildpack-deps:jammy
defaults:
run:
working-directory: ./test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Test for Haskell implementations
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
name: Run test
runs-on: ubuntu-22.04
runs-on: self-hosted
container:
image: haskell:9
defaults:
run:
working-directory: ./test
Expand Down Expand Up @@ -42,4 +46,4 @@ jobs:
run: ./test_maker .test/nsy.test
- name: Run test
run: ./test ../nsy/haskell/nsy
timeout-minutes: 5
timeout-minutes: 5
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,31 @@ name: Test for JavaScript implementations
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
name: Run test
runs-on: ubuntu-22.04
runs-on: self-hosted
container:
image: buildpack-deps:jammy
defaults:
run:
working-directory: ./test
steps:
- name: Install Bun
run: curl -fsSL https://bun.sh/install | bash
working-directory: ./
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: actions/checkout@v4
with:
submodules: true
- name: Build test maker
run: gcc -o test_maker test_maker.c

- name: Build object program
run: $BUN_INSTALL/bin/bun build hd.js --compile --outfile hd
run: bun build hd.js --compile --outfile hd
working-directory: ./hd/javascript
- name: Build host program
run: ./test_maker .test/hd.test
Expand Down
69 changes: 0 additions & 69 deletions .github/workflows/pr_c.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/pr_cpp.yml

This file was deleted.

69 changes: 0 additions & 69 deletions .github/workflows/pr_haskell.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/pr_javascript.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/pr_python.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/pr_rust.yml

This file was deleted.

Loading
Loading