blob: f6b2dca956ca0ded18780979de24d59dbdad47fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
name: Build
on: [push, pull_request]
jobs:
steamrt:
runs-on: ubuntu-latest
strategy:
matrix:
steamrt:
- 'registry.gitlab.steamos.cloud/steamrt/scout/sdk'
- 'registry.gitlab.steamos.cloud/steamrt/scout/sdk/i386'
sdkver:
- 'latest'
- 'beta'
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones speed things up
- name: "Build inside SteamRT container"
run: >
ID=$(docker run -d -v ${{ github.workspace }}:/og -i ${{ matrix.steamrt }}:${{ matrix.sdkver }}) &&
docker exec -w /og/ -i $ID sh -c
"cmake -S Projects -B Build -DCMAKE_BUILD_TYPE=Release -DSLIM_TIMING=No -DDBUILD_SERVER=On && cmake --build ./Build -- -j4"
|