-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add test for runtime updates (#209)
* tests: add runtime update test * workflows: add initial runtime update tests to ci * tests: fix tar extract error * tests: specify absolute path * workflows: install package in root * workflows: log the path * Revert "tests: specify absolute path" This reverts commit be16065. * workflows: perform user install * tests: refer to user install binary * workflows: update workflow step name
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: e2e | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install meson scdoc python3-hatchling python3-build python3-installer python3-filelock | ||
- name: Initialize submodules | ||
run: | | ||
git submodule update --init --recursive | ||
- name: Make user install | ||
run: | | ||
./configure.sh --user-install | ||
make install | ||
- name: Run tests | ||
run: | | ||
bash tests/test_update.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
mkdir -p $HOME/.local/share/umu | ||
|
||
curl -LJO "https://repo.steampowered.com/steamrt3/images/0.20240916.101795/SteamLinuxRuntime_sniper.tar.xz" | ||
tar xaf SteamLinuxRuntime_sniper.tar.xz | ||
mv SteamLinuxRuntime_sniper/* $HOME/.local/share/umu | ||
mv $HOME/.local/share/umu/_v2-entry-point $HOME/.local/share/umu/umu | ||
|
||
UMU_LOG=debug GAMEID=umu-0 $HOME/.local/bin/umu-run wineboot -u |