Skip to content

Build system updates and fixes #138

Build system updates and fixes

Build system updates and fixes #138

Workflow file for this run

name: Test Linux
on: [workflow_dispatch, workflow_call, pull_request]
jobs:
test_linux:
timeout-minutes: 30
strategy:
matrix:
build-type: [MinSizeRel]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
path: nakama-cpp
- uses: ./nakama-cpp/.github/actions/setup-ubuntu
- uses: ./nakama-cpp/.github/actions/setup-vcpkg
with:
github_token: ${{ secrets.github_token }}
vcpkg-path: vcpkg
- uses: ./nakama-cpp/.github/actions/build-library-and-upload
with:
nakama-cpp-path: nakama-cpp
preset: linux-amd64
build-type: ${{ matrix.build-type }}
- uses: ./nakama-cpp/.github/actions/build-test-and-run
with:
nakama-cpp-path: nakama-cpp
preset: linux-amd64
testrunner-pat: ${{ secrets.GH_PAT }}
build-type: ${{ matrix.build-type }}
- if: failure()
uses: ./nakama-cpp/.github/actions/handle-failure
with:
nakama-cpp-path: nakama-cpp
vcpkg-path: vcpkg