-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<fix>(compiler): fix compiler use optimize by default. (#32)
- Loading branch information
Showing
4 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Java-SDK GitHub Actions | ||
name: SolcJ GitHub Actions | ||
on: | ||
push: | ||
pull_request: | ||
|
@@ -9,18 +9,42 @@ jobs: | |
build: | ||
name: build | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-16.04, macos-latest] | ||
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, macos-12] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 5 | ||
- name: install Ubuntu dependencies | ||
if: runner.os == 'Linux' | ||
run: sudo apt update && sudo apt install -y git curl libssl-dev default-jdk build-essential | ||
- name: install macOS dependencies | ||
if: runner.os == 'macOS' | ||
run: brew install [email protected] openjdk | ||
- name: install Ubuntu dependencies | ||
if: runner.os == 'Linux' | ||
run: sudo apt-get update && sudo apt install -y git default-jdk | ||
- name: run build test | ||
if: runner.os == 'Windows' | ||
run: ./gradlew.bat build | ||
- name: run integration testing | ||
if: runner.os != 'Windows' | ||
run: /bin/bash .ci/ci_check.sh | ||
|
||
build-centos: | ||
name: build-centos | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04] | ||
container: docker.io/centos:7 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 5 | ||
- name: install CentOS dependencies | ||
run: yum install -y epel-release centos-release-scl which git openssl-devel openssl java java-devel | ||
- name: run integration testing | ||
run: /bin/bash .ci/ci_check.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,10 @@ build | |
dist | ||
bin | ||
out | ||
gpg.gpg | ||
gradle.properties | ||
log4j.properties | ||
log** | ||
|
||
## macOS | ||
.DS_Store |
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
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