mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-21 14:49:33 +02:00
Change setup
This commit is contained in:
parent
03ea3a0fda
commit
9ddf7a2a9a
1 changed files with 32 additions and 18 deletions
50
.github/workflows/erlang.yml
vendored
50
.github/workflows/erlang.yml
vendored
|
@ -5,26 +5,40 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: OTP ${{matrix.otp}}
|
# name: OTP ${{matrix.otp}}
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
otp: [21.3.8.17]
|
# otp: [21.3.8.17]
|
||||||
ruby: [2.6.3]
|
# ruby: [2.6.3]
|
||||||
|
# steps:
|
||||||
|
# - uses: actions/checkout@v2.0.0
|
||||||
|
# - uses: gleam-lang/setup-erlang@v1.1.2
|
||||||
|
# with:
|
||||||
|
# otp-version: ${{matrix.otp}}
|
||||||
|
# - uses: ruby/setup-ruby@v1
|
||||||
|
# with:
|
||||||
|
# ruby-version: ${{ matrix.ruby }}
|
||||||
|
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.0.0
|
- name: setup
|
||||||
- uses: gleam-lang/setup-erlang@v1.1.2
|
|
||||||
with:
|
|
||||||
otp-version: ${{matrix.otp}}
|
|
||||||
- uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby }}
|
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
||||||
|
|
||||||
- name: Get rebar3
|
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/erlang/rebar3.git
|
git clone https://github.com/asdf-vm/asdf.git "$HOME"/.asdf && \
|
||||||
cd rebar3
|
echo '. $HOME/.asdf/asdf.sh' >> "$HOME"/.bashrc && \
|
||||||
./bootstrap
|
echo '. $HOME/.asdf/asdf.sh' >> "$HOME"/.profile
|
||||||
|
export PATH="${PATH}:/root/.asdf/shims:/root/.asdf/bin"
|
||||||
|
|
||||||
|
asdf plugin-add erlang
|
||||||
|
asdf install
|
||||||
|
asdf global erlang $(grep erlang .tool-versions | cut -d' ' -f2)
|
||||||
|
asdf plugin-add ruby
|
||||||
|
asdf plugin-add rebar
|
||||||
|
asdf install
|
||||||
|
|
||||||
|
# - name: Get rebar3
|
||||||
|
# run: |
|
||||||
|
# git clone https://github.com/erlang/rebar3.git
|
||||||
|
# cd rebar3
|
||||||
|
# ./bootstrap
|
||||||
|
|
||||||
- name: Rebar version
|
- name: Rebar version
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue