CI triggered from @pmikolajczyk41 of pmikolajczyk/nit-2962-run-rm #565
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
run-name: CI triggered from @${{ github.actor }} of ${{ github.head_ref }} | |
on: | |
workflow_dispatch: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
- release | |
# run this job on the default branch (release) daily | |
# the docker compose file contains some images with tags like 'latest' and 'stable' | |
# we nightly run here just to double check no bugs have been merged into those tags and are now on release | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
build_and_run: | |
runs-on: ubuntu-8 | |
strategy: | |
fail-fast: false | |
matrix: | |
pos: [pos, no-pos] | |
l3node: [l3node, l3node-token-6, no-l3node] | |
tokenbridge: [tokenbridge, no-tokenbridge] | |
simple: [simple, no-simple] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
driver-opts: network=host | |
- name: Cache Docker layers | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }} | |
restore-keys: ${{ runner.os }}-buildx- | |
- name: Startup Nitro testnode | |
run: ${{ github.workspace }}/.github/workflows/testnode.bash --init-force ${{ (matrix.l3node == 'l3node' && '--l3node') || (matrix.l3node == 'l3node-token-6' && '--l3node --l3-fee-token --l3-token-bridge --l3-fee-token-decimals 6') || '' }} ${{ matrix.tokenbridge == 'tokenbridge' && '--tokenbridge' || '--no-tokenbridge' }} --detach ${{ matrix.pos == 'pos' && '--pos' || '' }} --simple ${{ (matrix.simple == 'simple' && '--simple') || (matrix.simple == 'no-simple' && '--no-simple') || '' }} |