Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

max trade amount flippy #331

max trade amount flippy

max trade amount flippy #331

Workflow file for this run

name: Rainix CI
on: [push]
jobs:
standard-tests:
strategy:
fail-fast: true
runs-on: ubuntu-latest
env:
RPC_URL_ARBITRUM: ${{ secrets. CI_DEPLOY_ARBITRUM_RPC_URL}}
RPC_URL_ETH: ${{ secrets. RPC_URL_ETH}}
CI_DEPLOY_SEPOLIA_RPC_URL: ${{ secrets.CI_DEPLOY_SEPOLIA_RPC_URL || vars.CI_DEPLOY_SEPOLIA_RPC_URL }}
CI_FORK_SEPOLIA_BLOCK_NUMBER: ${{ vars.CI_FORK_SEPOLIA_BLOCK_NUMBER }}
CI_FORK_SEPOLIA_DEPLOYER_ADDRESS: ${{ vars.CI_FORK_SEPOLIA_DEPLOYER_ADDRESS }}
CI_SEPOLIA_METABOARD_URL: ${{ vars.CI_SEPOLIA_METABOARD_URL }}
CI_DEPLOY_POLYGON_RPC_URL: ${{ secrets.CI_DEPLOY_POLYGON_RPC_URL }}
RPC_URL_ETHEREUM_FORK: ${{ secrets.RPC_URL_ETHEREUM_FORK }}
RPC_URL_FLARE: ${{ secrets.CI_DEPLOY_FLARE_RPC_URL || vars.CI_DEPLOY_FLARE_RPC_URL }}
steps:
- run: |
echo "MANIFEST_PATH=./lib/h20.test-std/lib/rain.orderbook/Cargo.toml" >> $GITHUB_ENV
echo "SETTINGS_PATH=src/settings.yml" >> $GITHUB_ENV
echo "DOTRAIN_FOLDER_PATH=./src/tranche" >> $GITHUB_ENV
echo "DOTRAIN_EXCLUDE_PATHS='src/learning/ethcc/* src/wip/*'" >> $GITHUB_ENV
echo "COMMIT_SHA=$(cd ./lib/h20.test-std/lib/rain.orderbook && git rev-parse HEAD)" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
# https://github.com/actions/runner-images/issues/2840#issuecomment-2272410832
- run: |
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
df -h
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix develop -c rainix-sol-prelude
- run: ./prep-tauri.sh
working-directory: lib/h20.test-std/lib/rain.orderbook
- run: nix develop -c rainix-sol-test
- run: nix run .#check-deployer-words