<fix>(V2,V3): fix view methods get struct value cannot be cast issue. #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ABICodeGenerator GitHub Actions | |
on: | |
pull_request: | |
release: | |
types: [published, created, edited] | |
env: | |
CCACHE_DIR: ${{ github.workspace }}/ccache | |
jobs: | |
build-ubuntu18: | |
name: build-ubuntu22.04 | |
runs-on: ubuntu-22.04 | |
container: | |
image: docker.io/ubuntu:22.04 | |
volumes: | |
- /__w/code-gen:/__w/code-gen | |
- /__w/code-gen/code-gen:/__w/code-gen/code-gen | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- name: install Ubuntu dependencies | |
run: apt update && apt install -y git curl libssl-dev default-jdk build-essential | |
- name: run integration testing | |
run: /bin/bash .ci/ci_check.sh | |
build-macos: | |
name: build-macos | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- name: install macOS dependencies | |
if: runner.os == 'macOS' | |
run: brew install [email protected] openjdk | |
- name: run integration testing | |
run: /bin/bash .ci/ci_check.sh | |
build-ubuntu20: | |
name: build-ubuntu20.04 | |
runs-on: ubuntu-20.04 | |
container: | |
image: docker.io/ubuntu:20.04 | |
volumes: | |
- /__w/code-gen:/__w/code-gen | |
- /__w/code-gen/code-gen:/__w/code-gen/code-gen | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- name: install Ubuntu dependencies | |
run: ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && apt update && apt install -y git curl libssl-dev default-jdk build-essential | |
- name: run integration testing | |
run: /bin/bash .ci/ci_check.sh |