Skip to content

Commit

Permalink
Use erlang-27 in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dgud committed Sep 26, 2024
1 parent 0ca3e2a commit bf4d0c8
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
runs-on: ubuntu-latest
steps:
# Fetch the commits and hopefully get nice version via git describe
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 1

- uses: erlef/setup-beam@v1
with:
otp-version: '26.0'
rebar3-version: '3.20'
otp-version: '27.1'
rebar3-version: '3.24'

- name: Install OpenCL deps
run: sudo apt-get update && sudo apt-get install -y ocl-icd-opencl-dev
Expand All @@ -34,11 +34,11 @@ jobs:
- name: Build installer
run: make unix

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wings_ubuntu
path: |
wings-*.bzip2.run
compression-level: 0
path: wings-*.bzip2.run

build-windows:
defaults:
Expand All @@ -48,21 +48,26 @@ jobs:
runs-on: windows-2022

steps:
- uses: Vampire/setup-wsl@v2
- uses: Vampire/setup-wsl@v3
with:
distribution: Ubuntu-22.04

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 1

- name: Install winget
uses: Cyberboss/install-winget@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Download win32 Erlang
shell: cmd
run: |
choco install -y --version "26.0.0" erlang
winget install --id=Erlang.ErlangOTP -v "27.0" -e --accept-source-agreements
## NSIS is already pre-installed
## choco install --verbose -y nsis
## winget install --verbose -y nsis

- name: Prepare WSL for compilation
run: |
Expand Down Expand Up @@ -107,11 +112,11 @@ jobs:
export WINGS_VCREDIST_IGNORE_VSN=1
make win32
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wings_win32_x64_installer
path: |
wings-*.exe
compression-level: 0
path: wings-*.exe



0 comments on commit bf4d0c8

Please sign in to comment.