1 name: Cross-platform build verification
11 group: ${{ github.workflow }}-${{ github.ref }}
12 cancel-in-progress: true
23 runs-on: ubuntu-latest
25 - name: Checkout source code
26 uses: actions/checkout@v3
27 - name: Install Rust ${{ matrix.toolchain }} toolchain
28 uses: actions-rs/toolchain@v1
30 toolchain: ${{ matrix.toolchain }}
33 - name: Build on Rust ${{ matrix.toolchain }}
35 cargo build --verbose --color always
37 runs-on: ubuntu-latest
42 POSTGRES_PASSWORD: postgres
44 --health-cmd pg_isready
51 - name: Checkout source code
52 uses: actions/checkout@v3
53 - name: Install Rust ${{ matrix.toolchain }} toolchain
54 uses: actions-rs/toolchain@v1
61 cargo test --verbose --color always -- --show-output
63 RAPID_GOSSIP_TEST_DB_HOST: localhost
64 RAPID_GOSSIP_TEST_DB_NAME: postgres
65 RAPID_GOSSIP_TEST_DB_USER: postgres
66 RAPID_GOSSIP_TEST_DB_PASSWORD: postgres
67 RAPID_GOSSIP_SYNC_SERVER_LOG_LEVEL: gossip