-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve on "Add Windows to the mix" (#52)
* Support more OTP+Windows versions (try to bridge the gap with gleam-lang/setup-erlang that seems to support pre-21 versions) * Merge ci.yml and test.yml * Add Elixir to the Windows mix * Hopefully improve error/warning messages * Adapt the doc.s to the current reality * Add option version-type (loose by default, for compatibility)
- Loading branch information
1 parent
82b4475
commit d8a37f5
Showing
21 changed files
with
499 additions
and
258 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
name: windows | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
integration_test: | ||
name: > | ||
OTP ${{matrix.combo.otp-version}}, | ||
Elixir ${{matrix.combo.elixir-version}}, | ||
rebar3 ${{matrix.combo.rebar3-version}} | ||
runs-on: ${{matrix.combo.os}} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
combo: | ||
- otp-version: '24.0.2' | ||
rebar3-version: '3.16' | ||
os: 'windows-2019' | ||
- otp-version: '23.0' | ||
rebar3-version: '3.15' | ||
os: 'windows-2019' | ||
- otp-version: '24.0.2' | ||
rebar3-version: '3.16' | ||
os: 'windows-2016' | ||
- otp-version: '23.0' | ||
rebar3-version: '3.15' | ||
os: 'windows-2016' | ||
- otp-version: '22.3' | ||
rebar3-version: '3.15' | ||
os: 'windows-2016' | ||
- otp-version: '22.0' | ||
rebar3-version: '3.15' | ||
os: 'windows-2016' | ||
- otp-version: '21.3' | ||
rebar3-version: '3.15' | ||
os: 'windows-2016' | ||
- otp-version: '21.0' | ||
rebar3-version: '3.15' | ||
os: 'windows-2016' | ||
- elixir-version: 'v1.10' | ||
otp-version: '23' | ||
rebar3-version: '3.14' | ||
os: 'windows-latest' | ||
- elixir-version: 'v1.11' | ||
otp-version: '24' | ||
rebar3-version: '3.15' | ||
os: 'windows-latest' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use erlef/setup-beam | ||
id: setup-beam | ||
uses: ./ | ||
with: | ||
otp-version: ${{matrix.combo.otp-version}} | ||
elixir-version: ${{matrix.combo.elixir-version}} | ||
rebar3-version: ${{matrix.combo.rebar3-version}} | ||
- name: Erlang/OTP version (action) | ||
run: echo "Erlang/OTP ${{steps.setup-beam.outputs.otp-version}}" | ||
- name: Elixir version (action) | ||
run: echo "Elixir ${{steps.setup-beam.outputs.elixir-version}}" | ||
if: ${{matrix.combo.elixir-version}} | ||
- name: rebar3 version (action) | ||
run: echo "rebar3 ${{steps.setup-beam.outputs.rebar3-version}}" | ||
- name: mix version and help (CLI) | ||
run: | | ||
mix -v | ||
mix help local.rebar | ||
mix help local.hex | ||
if: ${{matrix.combo.elixir-version}} | ||
- name: Run Mix project tests | ||
run: | | ||
cd test-projects/mix | ||
mix deps.get | ||
mix test | ||
if: ${{matrix.combo.elixir-version}} | ||
- name: Run rebar3 project tests | ||
run: | | ||
cd test-projects/rebar3 | ||
rebar3 ct | ||
if: ${{matrix.combo.rebar3-version}} |
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
Oops, something went wrong.