Skip to content

Fix broken missions and add Soroban load to some #298

Fix broken missions and add Soroban load to some

Fix broken missions and add Soroban load to some #298

Workflow file for this run

name: Build and test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup k3s
uses: debianmaster/actions-k3s@master
with:
version: 'v1.23.17-k3s1'
- name: Setup nginx-ingress
run: |
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.5.1/deploy/static/provider/cloud/deploy.yaml
kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=120s
- name: Setup .NET SDK 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Install dependencies
run: dotnet restore
- name: Install tool dependencies
run: dotnet tool restore
- name: Check formatting
run: dotnet tool run fantomas --check --recurse src
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Run BootAndSync mission
run: dotnet run --project src/App/App.fsproj --configuration Release -- mission BootAndSync --image stellar/stellar-core:stable --kubeconfig $KUBECONFIG --namespace default --ingress-class nginx --ingress-internal-domain local --ingress-external-host localhost --uneven-sched
- uses: actions/upload-artifact@v2
with:
name: destination
path: destination/
retention-days: 30