-
Notifications
You must be signed in to change notification settings - Fork 63
Improve on "Add support for Windows builds" #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
paulo-ferraz-oliveira
merged 16 commits into
erlef:main
from
paulo-ferraz-oliveira:feature/erlang-windows-builds-improved
Jul 8, 2021
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
12ca1d0
Support more OTP+Windows versions
paulo-ferraz-oliveira 4bb676d
Merge ci.yml and test.yml
paulo-ferraz-oliveira bd574ce
Stop removing stuff we don't need to
paulo-ferraz-oliveira 1fe529e
Add Windows+Elixir
paulo-ferraz-oliveira 6a40566
Hopefully improve error/warning messages
paulo-ferraz-oliveira e49bdda
Revert previous wrong decision
paulo-ferraz-oliveira 16c77e1
Improve development experience
paulo-ferraz-oliveira a1c24c9
Adapt the doc.s to the current reality
paulo-ferraz-oliveira 2631e31
Fix bug
paulo-ferraz-oliveira c553c32
Tentatively add option strict-version (false by default, for compatib…
paulo-ferraz-oliveira 41fe67e
Fix the way we find versions for non-semver stuff
paulo-ferraz-oliveira b051f67
Tweak version-type option name for documentation purposes
paulo-ferraz-oliveira 7ff5753
Add more tests and fix as per CI results
paulo-ferraz-oliveira 29bf429
Fix as per test results
paulo-ferraz-oliveira ca7e8a3
Improve version string comparison
paulo-ferraz-oliveira c708abc
Fix as per test results (almost there?)
paulo-ferraz-oliveira File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like splitting these out into different workflows for easy digestion 👍