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
32 changes: 32 additions & 0 deletions .github/workflows/test-lang-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: test-lang-go
on: [pull_request]
jobs:
lang-go-test:
name: "Lang Go test (ver: ${{ matrix.go-version.go }}) (os: ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [{go: "1.22", yaegi: "v0.16.1"}, {go: "1.19", yaegi: "v0.14.0"}, {go: "1.18", yaegi: "v0.14.0"}, {go: "1.17", yaegi: "v0.13.0"}, {go: "1.16", yaegi: "v0.13.0"}]
os: [ubuntu-22.04, macos-26-intel]
include:
- os: ubuntu-22.04
python-version: "3.7.17"
- os: macos-26-intel
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Setup go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version.go }}
- run: go version
- run: make deps-dev
- run: make install-from-pkg-tgz
- run: go install github.com/traefik/yaegi/cmd/yaegi@${{ matrix.go-version.yaegi }}
- run: PATH=$PATH:$(go env GOPATH)/bin make lang-go-test
26 changes: 26 additions & 0 deletions .github/workflows/test-lang-iasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test-lang-iasm
on: [pull_request]
jobs:
lang-iasm-test:
name: "Lang iasm test (ver: latest) (os: ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-26-intel]
include:
- os: ubuntu-22.04
python-version: "3.7.17"
- os: macos-26-intel
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- run: make deps-dev
- run: make install-from-pkg-tgz
- run: pip install iasm
- run: make lang-iasm-test
31 changes: 31 additions & 0 deletions .github/workflows/test-lang-java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test-lang-java
on: [pull_request]
jobs:
lang-java-test:
name: "Lang Java test (ver: ${{ matrix.java }}) (os: ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '13', '15', '17', '21', '24' ]
os: [ubuntu-22.04, macos-26-intel]
include:
- os: ubuntu-22.04
python-version: "3.7.17"
- os: macos-26-intel
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Setup java
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- run: make deps-dev
- run: make install-from-pkg-tgz
- run: make lang-java-test
30 changes: 30 additions & 0 deletions .github/workflows/test-lang-javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: test-lang-javascript
on: [pull_request]
jobs:
lang-javascript-test:
name: "Lang Javascript test (ver: ${{ matrix.node-version }}) (os: ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x, 16.x, 18.x, 20.x, 22.x, 23.x]
os: [ubuntu-22.04, macos-26-intel]
include:
- os: ubuntu-22.04
python-version: "3.7.17"
- os: macos-26-intel
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: make deps-dev
- run: make install-from-pkg-tgz
- run: make lang-javascript-test
30 changes: 30 additions & 0 deletions .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: test-lang-ruby
on: [pull_request]
jobs:
lang-ruby-test:
name: "Lang Ruby test (ver: ${{ matrix.ruby-version }}) (os: ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
ruby-version: ["2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "4.0"]
os: [ubuntu-22.04, macos-26-intel]
include:
- os: ubuntu-22.04
python-version: "3.7.17"
- os: macos-26-intel
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- run: make deps-dev
- run: make install-from-pkg-tgz
- run: make lang-ruby-test
Loading
Loading