2021-08-26 19:21:33 +02:00
|
|
|
name: Steam
|
2021-07-28 16:14:44 +02:00
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
name: Test with Steam Runtime
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
DISPLAY: ':99.0'
|
2021-08-17 05:21:53 +02:00
|
|
|
GO_VERSION: '1.17'
|
2021-07-28 16:14:44 +02:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-08-15 17:48:17 +02:00
|
|
|
- name: Docker build (386)
|
|
|
|
run: |
|
2021-10-26 20:40:25 +02:00
|
|
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-public-beta/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.Dockerfile
|
|
|
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-public-beta/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
|
2021-08-15 17:48:17 +02:00
|
|
|
docker build -f com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.Dockerfile -t steamrt_scout_i386:latest .
|
|
|
|
|
|
|
|
- name: Docker build (amd64)
|
2021-07-28 16:14:44 +02:00
|
|
|
run: |
|
2021-10-26 20:40:25 +02:00
|
|
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-public-beta/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile
|
|
|
|
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-public-beta/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz
|
2021-07-28 16:14:44 +02:00
|
|
|
docker build -f com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile -t steamrt_scout_amd64:latest .
|
|
|
|
|
2021-08-15 17:48:17 +02:00
|
|
|
- name: Docker run (386)
|
|
|
|
run: |
|
|
|
|
docker run --rm --workdir=/work --volume $(pwd):/work --env GO_FILENAME=go${GO_VERSION}.linux-386.tar.gz steamrt_scout_i386:latest /bin/sh .github/workflows/steam.sh
|
|
|
|
|
|
|
|
- name: Docker run (amd64)
|
2021-07-28 16:14:44 +02:00
|
|
|
run: |
|
2021-08-15 17:48:17 +02:00
|
|
|
docker run --rm --workdir=/work --volume $(pwd):/work --env GO_FILENAME=go${GO_VERSION}.linux-amd64.tar.gz steamrt_scout_amd64:latest /bin/sh .github/workflows/steam.sh
|