Skip to content

Commit

Permalink
fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
netbrain committed Dec 8, 2023
1 parent d2e6b77 commit 841f757
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/zwift_build_matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,34 @@ jobs:
exclude:
- winetricks-version: "20230212"
- winetricks-version: "20210206"
steps:
- name: Install dependencies
run: sudo apt-get install -y x11-xserver-utils x11-apps
steps:
- name: Install dependencies
run: sudo apt-get install -y x11-xserver-utils x11-apps

- uses: netbrain/free-disk-space-action@v0.0.1
- uses: netbrain/free-disk-space-action@v0.0.1

- name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Build zwift
run: |
set -x
export VERSION=$(curl -s http://cdn.zwift.com/gameassets/Zwift_Updates_Root/Zwift_ver_cur.xml | grep -oP 'sversion="\K.*?(?=")' | cut -f 1 -d ' ')
export BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Build zwift
run: |
set -x
export VERSION=$(curl -s http://cdn.zwift.com/gameassets/Zwift_Updates_Root/Zwift_ver_cur.xml | grep -oP 'sversion="\K.*?(?=")' | cut -f 1 -d ' ')
export BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo "Starting build..."
Xvfb :99 -ac -screen 0 "800x600x24" -nolisten tcp &
sleep 3
export DISPLAY=:99
docker build \
--build-arg="WINE_VERSION=${{ matrix.wine-version }}" \
--build-arg="WINETRICKS_VERSION=${{ matrix.winetricks-version }}" \
--build-arg="WINE_MONO_VERSION=${{ matrix.wine-mono-version }}" \
-t netbrain/zwift:build .
xhost +
docker run --name zwift \
--privileged \
-e DISPLAY=$DISPLAY \
--device /dev/dri \
-v /tmp:/tmp \
netbrain/zwift:build
echo "Starting build..."
Xvfb :99 -ac -screen 0 "800x600x24" -nolisten tcp &
sleep 3
export DISPLAY=:99
docker build \
--build-arg="WINE_VERSION=${{ matrix.wine-version }}" \
--build-arg="WINETRICKS_VERSION=${{ matrix.winetricks-version }}" \
--build-arg="WINE_MONO_VERSION=${{ matrix.wine-mono-version }}" \
-t netbrain/zwift:build .
xhost +
docker run --name zwift \
--privileged \
-e DISPLAY=$DISPLAY \
--device /dev/dri \
-v /tmp:/tmp \
netbrain/zwift:build

0 comments on commit 841f757

Please sign in to comment.