Merge branch 'main' of git.neuralplatform.ai:neuron-technologies/neuron
This commit is contained in:
@@ -19,8 +19,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout foundation/el (ELP source for soul.el imports)
|
- name: Checkout foundation/el (ELP source for soul.el imports)
|
||||||
run: |
|
run: |
|
||||||
git clone http://34.31.145.131/neuron-technologies/el.git \
|
git clone https://git.neuralplatform.ai/neuron-technologies/el.git \
|
||||||
--depth=1 --branch=dev \
|
--depth=1 --branch=main \
|
||||||
../foundation/el
|
../foundation/el
|
||||||
|
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
# Get latest version of each package
|
# Get latest version of each package
|
||||||
get_latest() {
|
get_latest() {
|
||||||
gcloud artifacts versions list \
|
gcloud artifacts versions list \
|
||||||
--repository=foundation-dev \
|
--repository=foundation-prod \
|
||||||
--location=us-central1 \
|
--location=us-central1 \
|
||||||
--project=neuron-785695 \
|
--project=neuron-785695 \
|
||||||
--package="$1" \
|
--package="$1" \
|
||||||
@@ -62,22 +62,22 @@ jobs:
|
|||||||
echo "Downloading elc@${ELC_VER} elb@${ELB_VER} runtime@${RC_VER}"
|
echo "Downloading elc@${ELC_VER} elb@${ELB_VER} runtime@${RC_VER}"
|
||||||
|
|
||||||
gcloud artifacts generic download \
|
gcloud artifacts generic download \
|
||||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||||
--package=el-elc --version="${ELC_VER}" \
|
--package=el-elc --version="${ELC_VER}" \
|
||||||
--destination=/opt/el/dist/platform/
|
--destination=/opt/el/dist/platform/
|
||||||
|
|
||||||
gcloud artifacts generic download \
|
gcloud artifacts generic download \
|
||||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||||
--package=el-elb --version="${ELB_VER}" \
|
--package=el-elb --version="${ELB_VER}" \
|
||||||
--destination=/opt/el/dist/bin/
|
--destination=/opt/el/dist/bin/
|
||||||
|
|
||||||
gcloud artifacts generic download \
|
gcloud artifacts generic download \
|
||||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||||
--package=el-runtime-c --version="${RC_VER}" \
|
--package=el-runtime-c --version="${RC_VER}" \
|
||||||
--destination=/opt/el/runtime/
|
--destination=/opt/el/runtime/
|
||||||
|
|
||||||
gcloud artifacts generic download \
|
gcloud artifacts generic download \
|
||||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||||
--package=el-runtime-h --version="${RH_VER}" \
|
--package=el-runtime-h --version="${RH_VER}" \
|
||||||
--destination=/opt/el/runtime/
|
--destination=/opt/el/runtime/
|
||||||
|
|
||||||
@@ -109,7 +109,7 @@ jobs:
|
|||||||
ELC=/opt/el/dist/platform/elc
|
ELC=/opt/el/dist/platform/elc
|
||||||
RUNTIME=/opt/el/runtime
|
RUNTIME=/opt/el/runtime
|
||||||
|
|
||||||
$ELB --elc=$ELC --runtime=$RUNTIME
|
$ELB --elc=$ELC --runtime=$RUNTIME/el_runtime.c
|
||||||
ls -lh dist/neuron
|
ls -lh dist/neuron
|
||||||
|
|
||||||
- name: Smoke test
|
- name: Smoke test
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
VERSION="${GITHUB_SHA:0:8}"
|
VERSION="${GITHUB_SHA:0:8}"
|
||||||
|
|
||||||
gcloud artifacts generic upload \
|
gcloud artifacts generic upload \
|
||||||
--repository=foundation-dev \
|
--repository=foundation-prod \
|
||||||
--location=us-central1 \
|
--location=us-central1 \
|
||||||
--project=neuron-785695 \
|
--project=neuron-785695 \
|
||||||
--package=neuron-soul \
|
--package=neuron-soul \
|
||||||
|
|||||||
Reference in New Issue
Block a user