mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-07 12:07:09 +08:00
Test app build on Windows CI (#1130)
Co-authored-by: Wojtek Mach <wojtekmach@users.noreply.github.com>
This commit is contained in:
parent
fc82b55dab
commit
cf0ff5a5a7
2 changed files with 7 additions and 4 deletions
9
.github/workflows/test.yaml
vendored
9
.github/workflows/test.yaml
vendored
|
@ -62,11 +62,12 @@ jobs:
|
||||||
- name: Install Erlang & Elixir
|
- name: Install Erlang & Elixir
|
||||||
uses: erlef/setup-beam@v1
|
uses: erlef/setup-beam@v1
|
||||||
with:
|
with:
|
||||||
otp-version: '24.0'
|
version-type: strict
|
||||||
elixir-version: '1.13.0'
|
otp-version: '24.2'
|
||||||
|
elixir-version: '1.13.2'
|
||||||
- name: Start epmd
|
- name: Start epmd
|
||||||
run: cmd /c "START /b epmd"
|
run: cmd /c "START /b epmd"
|
||||||
working-directory: ${{ env.INSTALL_DIR_FOR_OTP }}/erts-12.0.4/bin
|
working-directory: ${{ env.INSTALL_DIR_FOR_OTP }}/erts-12.2/bin
|
||||||
# Add tar that supports symlinks, see https://github.com/actions/virtual-environments/issues/4679
|
# Add tar that supports symlinks, see https://github.com/actions/virtual-environments/issues/4679
|
||||||
- name: Add tar.exe
|
- name: Add tar.exe
|
||||||
run: |
|
run: |
|
||||||
|
@ -88,3 +89,5 @@ jobs:
|
||||||
run: mix compile --warnings-as-errors
|
run: mix compile --warnings-as-errors
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: mix test
|
run: mix test
|
||||||
|
- name: Build the app
|
||||||
|
run: bash .github/scripts/app/build_windows.sh
|
||||||
|
|
|
@ -237,7 +237,7 @@ defmodule AppBuilder.Windows do
|
||||||
|
|
||||||
defp ensure_vcredistx64 do
|
defp ensure_vcredistx64 do
|
||||||
url = "https://aka.ms/vs/17/release/vc_redist.x64.exe"
|
url = "https://aka.ms/vs/17/release/vc_redist.x64.exe"
|
||||||
sha256 = "37ed59a66699c0e5a7ebeef7352d7c1c2ed5ede7212950a1b0a8ee289af4a95b"
|
sha256 = "426a34c6f10ea8f7da58a8c976b586ad84dd4bab42a0cfdbe941f1763b7755e5"
|
||||||
AppBuilder.Utils.ensure_executable(url, sha256)
|
AppBuilder.Utils.ensure_executable(url, sha256)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue