Skip to content
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

More CI work #1009

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 49 additions & 31 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,38 @@ jobs:
- '27'
os:
# - macos-latest
- ubuntu-latest
# - windows-latest
# - ubuntu-latest
- windows-latest
suite:
- core-app
- core-apps
- core-autopatch
- core-compat
- core-deps
- core-makedep
- core-misc
- core-plugins
- core-query
- core-upgrade
- asciidoc
- bootstrap
- concuerror
- cover
- c-src
- ct
- dialyzer
- edoc
- erlydtl
- escript
- eunit
- hex
- proper
- protobuffs
- relx
- shell
- sphinx
- triq
- xref
# - core-apps
# - core-autopatch
# - core-compat
# - core-deps
# - core-makedep
# - core-misc
# - core-plugins
# - core-query
# - core-upgrade
# - asciidoc
# - bootstrap
# - concuerror
# - cover
# - c-src
# - ct
# - dialyzer
# - edoc
# - erlydtl
# - escript
# - eunit
# - hex
# - proper
# - protobuffs
# - relx
# - shell
# - sphinx
# - triq
# - xref
extra: ['', 'LEGACY=1']
exclude:
# We disable proper/triq tests until ubuntu-latest includes GNU Make 4.4 or later.
Expand All @@ -72,6 +72,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Erlang/OTP
if: matrix.os == 'ubuntu-latest'
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang }}
Expand All @@ -91,14 +92,31 @@ jobs:
gnu-netcat
diffutils

# When debugging Windows issues.
- name: Install custom Erlang/OTP
if: matrix.os == 'windows-latest'
run: |
tar -xf otp_win32_installer.zip
./otp_win64_28.0-rc0.exe /S /D=C:\otp
dir

- if: matrix.os == 'windows-latest'
shell: msys2 {0}
run: |
sleep 300
ls -la
ls -la /c/
ls -la /c/otp
ls -la /c/otp/bin

- name: Run tests (Linux)
if: matrix.os == 'ubuntu-latest'
run: make check c=${{ matrix.suite }} -k ${{ matrix.extra }}

- name: Run tests (Windows)
if: matrix.os == 'windows-latest'
shell: msys2 {0}
run: PATH=$INSTALL_DIR_FOR_OTP/bin:$PATH make check c=${{ matrix.suite }} -k V=3 ${{ matrix.extra }}
run: PATH=/c/otp/bin:$PATH make check c=${{ matrix.suite }} -k V=3 ${{ matrix.extra }}

- name: Upload artifacts
if: failure()
Expand Down
Binary file added otp_win32_installer.zip
Binary file not shown.
Loading