From a4f870f6270b2c5946b90117a71db0f3f228a7c4 Mon Sep 17 00:00:00 2001 From: Oleg Derevenetz Date: Fri, 3 Jan 2025 19:38:53 +0300 Subject: [PATCH] Don't run Docker manually --- .github/workflows/make.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index f1aca87b08..f399ae2882 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -345,16 +345,22 @@ jobs: make-emscripten: name: Make (Emscripten) runs-on: ubuntu-latest + container: emscripten/emsdk:3.1.74 timeout-minutes: 30 defaults: run: shell: bash steps: - uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo apt-get -y update + sudo apt-get -y install gettext p7zip-full - name: Build run: | - docker run --rm -v "$(pwd):/src" -e FHEROES2_STRICT_COMPILATION=ON emscripten/emsdk:3.1.74 \ - sh -c "apt-get -y update && apt-get -y install gettext && emmake make -f Makefile.emscripten -j \"$(nproc)\"" + emmake make -f Makefile.emscripten -j "$(nproc)" + env: + FHEROES2_STRICT_COMPILATION: ON - name: Create package run: | # Translations and H2D files are already included in fheroes2.data