Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Vedder <vedder@mbits.info>2022-05-10 16:28:56 +0300
committerGitHub <noreply@github.com>2022-05-10 16:28:56 +0300
commitc770521d44ea8650543dfeef274e3e85d72b483c (patch)
tree21acafe7903399f39622e3dc4315ae98247d10b3
parentab216f7e5594665c5ab4ccd961343f1f78221cab (diff)
Add steam RT compilation workflow (#55)
-rw-r--r--.github/workflows/steam.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/steam.yml b/.github/workflows/steam.yml
new file mode 100644
index 00000000..f6b2dca9
--- /dev/null
+++ b/.github/workflows/steam.yml
@@ -0,0 +1,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" \ No newline at end of file