From ab961d692529974bb75e3986ecc8b99bfcefb914 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Sat, 7 Dec 2024 19:46:52 +0700 Subject: [PATCH] Fix linux build --- .github/workflows/build.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0bdbe6..4e86841 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,23 +52,25 @@ jobs: linux: name: 'Linux' - runs-on: ubuntu-latest - container: s1lentq/linux86buildtools:latest + runs-on: ubuntu-20.04 outputs: app-version: ${{ steps.app-version.outputs.version }} - env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Build using Intel C++ Compiler 19.0 + - name: Check dependencies run: | - rm -rf build && CC=icc CXX=icpc cmake -B build && cmake --build build -j8 + sudo dpkg --add-architecture i386 + sudo apt-get update + sudo apt-get install -y gcc-multilib g++-multilib + + - name: Build + run: | + rm -rf build && CC=gcc CXX=g++ cmake -B build && cmake --build build -j8 - name: Reading appversion.h id: app-version