Skip to content

Commit

Permalink
update to main
Browse files Browse the repository at this point in the history
remove travis run on github
  • Loading branch information
mabels committed Jan 2, 2021
1 parent 0676310 commit cf9c752
Show file tree
Hide file tree
Showing 5 changed files with 238 additions and 110 deletions.
127 changes: 127 additions & 0 deletions .github/workflow/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: build

on:
push:
branches:
- main

jobs:
cpp:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build cpp"
run: |
cd cpp && echo "build cpp"
make
cs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build cs"
run: |
cd cs && echo "build cs"
dotnet restore
dotnet build
dotnet test
dotnet build -c Release
dart:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build dart"
run: |
cd dart/ipaddress && echo "build dart"
dart pub get
dart test
go:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build go"
run: |
cd go/ipaddress && echo "build go"
go test -y
java:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build java"
run: |
cd java && echo "build java"
mvn test -B -Dmaven.javadoc.skip=true
js:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build js"
run: |
cd js && echo "build js"
npm install
npm run test
kotlin:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build kotlin"
run: |
cd kotlin && echo "build kotlin"
gradle test
ruby:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build ruby"
run: |
cd ruby && echo "build ruby"
gem install jeweler
gem install test-unit
rake test
rust:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build rust"
run: |
cd rust && echo "build rust"
cargo test --release
swift:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: "build swift"
run: |
cd swift && echo "build swift"
swift --version
21 changes: 15 additions & 6 deletions .travis.yml → .travis.yml.off
Original file line number Diff line number Diff line change
Expand Up @@ -31,41 +31,41 @@
matrix:
include:
- language: ruby
rvm: 2.2
rvm: 2.7
before_script:
- cd ruby
script:
- gem install jeweler
- gem install test-unit
- rake test
- language: go
go: "1.8"
go: "1.15"
before_script:
- cd go/ipaddress
script:
- go test -v
- language: node_js
node_js: "8"
node_js: "12"
before_script:
- cd js
script:
- npm install
- npm test
- language: java
jdk: oraclejdk8
jdk: oraclejdk11
before_script:
- cd java
script:
- mvn test -B -Dmaven.javadoc.skip=true
- language: java
jdk: oraclejdk8
jdk: oraclejdk11
before_script:
- cd kotlin
script:
- gradle test
- language: csharp
mono: none
dotnet: 1.1.5
dotnet: 3.1
before_script:
- cd cs/ipaddress
script:
Expand All @@ -78,6 +78,15 @@ matrix:
- cd rust
script:
- cargo test --release
- language: dart
dart: stable
before_script:
- cd dart
script:
- cmake -DCMAKE_BUILD_TYPE=Release .
- make
- ./test/Release/*/test_crunchy

- language: cpp
before_install:
- sudo apt-get -qq update
Expand Down
Loading

0 comments on commit cf9c752

Please sign in to comment.