Pārlūkot izejas kodu
Merge pull request #2280 from tsloughter/github-windows-macos
add macos and windows test runs to github workflow
pull/2281/head
Tristan Sloughter
pirms 5 gadiem
revīziju iesūtīja
GitHub
vecāks
revīzija
b5b38d7401
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
4 mainītis faili ar
28 papildinājumiem un
30 dzēšanām
-
.cirrus.yml
-
.github/workflows/main.yml
-
README.md
-
appveyor.yml
|
|
@ -1,8 +0,0 @@ |
|
|
|
osx_test_task: |
|
|
|
osx_instance: |
|
|
|
image: mojave-base |
|
|
|
install_script: brew install erlang |
|
|
|
test_script: | |
|
|
|
./bootstrap |
|
|
|
./rebar3 ct |
|
|
|
|
|
|
@ -9,7 +9,7 @@ on: |
|
|
|
- 'master' |
|
|
|
|
|
|
|
jobs: |
|
|
|
build: |
|
|
|
linux: |
|
|
|
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }} |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
|
|
|
@ -27,3 +27,29 @@ jobs: |
|
|
|
run: ./bootstrap |
|
|
|
- name: CT tests |
|
|
|
run: ./rebar3 ct |
|
|
|
|
|
|
|
macos: |
|
|
|
name: Test on MacOS |
|
|
|
runs-on: macos-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install Erlang |
|
|
|
run: brew install erlang |
|
|
|
- name: Compile |
|
|
|
run: ./bootstrap |
|
|
|
- name: CT tests |
|
|
|
run: ./rebar3 ct |
|
|
|
|
|
|
|
windows: |
|
|
|
name: Test on Windows |
|
|
|
runs-on: windows-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install Erlang |
|
|
|
run: choco install erlang |
|
|
|
- name: Compile |
|
|
|
run: cmd.exe /c 'bootstrap.bat' |
|
|
|
- name: CT tests |
|
|
|
run: cmd.exe /c 'rebar3.cmd ct' |
|
|
@ -1,6 +1,6 @@ |
|
|
|
# Rebar3 |
|
|
|
|
|
|
|
 [](https://cirrus-ci.com/github/erlang/rebar3) [](https://ci.appveyor.com/project/TristanSloughter/rebar3) |
|
|
|
 |
|
|
|
|
|
|
|
1. [What is Rebar3?](#what-is-rebar3) |
|
|
|
2. [Why Rebar3?](#why-rebar3) |
|
|
|
|
|
@ -1,20 +0,0 @@ |
|
|
|
version: "{build}" |
|
|
|
branches: |
|
|
|
only: |
|
|
|
- master |
|
|
|
environment: |
|
|
|
matrix: |
|
|
|
- erlang_vsn: 19.2 |
|
|
|
- erlang_vsn: 18.3 |
|
|
|
- erlang_vsn: 17.5 |
|
|
|
install: |
|
|
|
- ps: choco install erlang --version $env:erlang_vsn |
|
|
|
build_script: |
|
|
|
- ps: cmd.exe /c 'bootstrap.bat' |
|
|
|
test_script: |
|
|
|
- ps: cmd.exe /c 'rebar3.cmd ct' |
|
|
|
notifications: |
|
|
|
- provider: GitHubPullRequest |
|
|
|
on_build_success: true |
|
|
|
on_build_failure: true |
|
|
|
on_build_status_changed: false |