mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-03 17:58:44 +00:00
ci5
This commit is contained in:
parent
9e9e0090d8
commit
c897e8e4a3
|
@ -4,7 +4,7 @@ erlang 26.2.4
|
|||
elixir 1.16.2-otp-26
|
||||
# erlang 25.3.2.8
|
||||
# elixir 1.13.4-otp-25
|
||||
just 1.23
|
||||
just 1.25.2
|
||||
yarn 1.22.19
|
||||
nodejs 21.6.1
|
||||
chromedriver latest
|
||||
|
|
|
@ -1,29 +1,31 @@
|
|||
#!/bin/bash
|
||||
# NOTE: using asdf because bullseye elixir version is too old
|
||||
|
||||
asdf_dir=/opt/asdf
|
||||
mkdir -p $asdf_dir
|
||||
|
||||
apt-get update -q -y
|
||||
|
||||
# deps
|
||||
apt-get install -q -y --no-install-recommends git tar file gcc sqlite3 npm mailcap ca-certificates libssl-dev tzdata gettext curl rustc cargo wget gnupg sudo unzip
|
||||
|
||||
git clone https://github.com/asdf-vm/asdf.git $asdf_dir --branch v0.11.1
|
||||
. "$asdf_dir/asdf.sh"
|
||||
asdf plugin-add erlang && asdf plugin-add elixir && asdf plugin-add just
|
||||
|
||||
# Install
|
||||
# deps of tools
|
||||
apt-get install -q -y --no-install-recommends autoconf dpkg-dev gcc g++ make libncurses-dev unixodbc-dev libssl-dev libsctp-dev libodbc1 libssl1.1 libsctp1
|
||||
# TODO: use .tool-versions instead of latest
|
||||
which erl || (asdf install erlang latest && asdf global erlang latest)
|
||||
elixir -v || (asdf install elixir latest && asdf global elixir latest) #|| apt-get install -y elixir
|
||||
just --version || (asdf install just latest && asdf global just latest) || cargo install just #|| apt-get install -y just
|
||||
npm install --global yarn
|
||||
|
||||
# NOTE: using mise because bullseye elixir version is too old
|
||||
curl https://mise.run | sh
|
||||
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
|
||||
mise plugin-add erlang && mise plugin-add elixir && mise plugin-add just
|
||||
|
||||
mise install
|
||||
|
||||
# FYI: uses .tool-versions instead of the below
|
||||
# which erl || (mise install erlang latest && asdf global erlang latest)
|
||||
# elixir -v || (asdf install elixir latest && asdf global elixir latest) #|| apt-get install -y elixir
|
||||
# just --version || (asdf install just latest && asdf global just latest) || cargo install just #|| apt-get install -y just
|
||||
# npm install --global yarn
|
||||
|
||||
echo $PATH
|
||||
ls -la $asdf_dir && ls -la $asdf_dir/bin && ls -la /github/home/.asdf/shims
|
||||
which erl
|
||||
elixir -v
|
||||
just --version
|
||||
yarn -v
|
||||
|
||||
mix local.hex --force
|
||||
mix local.rebar --force
|
||||
mix local.rebar --force
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -154,7 +154,7 @@ defmodule Bonfire.Umbrella.MixProject do
|
|||
# TODO: put these in ENV or an external writeable config file similar to deps.*
|
||||
@config [
|
||||
# note that the flavour will automatically be added where the dash appears
|
||||
version: "0.9.10-beta.39",
|
||||
version: "0.9.10-beta.40",
|
||||
elixir: ">= #{System.get_env("ELIXIR_VERSION", "1.13.4")}",
|
||||
flavour: @flavour,
|
||||
default_flavour: @default_flavour,
|
||||
|
|
Loading…
Reference in a new issue