...

Text file src/github.com/google/flatbuffers/.github/workflows/extrabuild.yml

Documentation: github.com/google/flatbuffers/.github/workflows

     1name: Build and unit tests that are more time consuming
     2permissions: read-all
     3
     4on:
     5  # For manual tests.
     6  workflow_dispatch:
     7  pull_request:
     8    types:
     9      - closed
    10  schedule:
    11  - cron: "30 20 * * *"
    12
    13jobs:
    14  build-linux-s390x:
    15    name: Build Linux on s390x arch and run unit tests
    16    runs-on: ubuntu-latest
    17    steps:
    18      - uses: actions/checkout@v3
    19      - uses: uraimo/run-on-arch-action@v2
    20        name: Run commands
    21        id: runcmd
    22        with:
    23          arch: s390x
    24          distro: ubuntu_latest
    25          install: |
    26            apt-get update -q -y
    27            apt-get -y install cmake
    28            apt-get -y install make
    29            apt-get -y install g++
    30          run: |
    31            lscpu | grep Endian
    32            cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
    33            make -j
    34            ./flattests
    35

View as plain text