Просмотр исходного кода

add macos and windows test runs to github workflow

pull/2280/head
Tristan Sloughter 5 лет назад
Родитель
Сommit
684879f644
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: AAB97DDECCEB8150
1 измененных файлов: 27 добавлений и 1 удалений
  1. +27
    -1
      .github/workflows/main.yml

+ 27
- 1
.github/workflows/main.yml Просмотреть файл

@ -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'

Загрузка…
Отмена
Сохранить