diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 153b911..199210f 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -5,13 +5,25 @@ on: [push, pull_request] jobs: build_linux: runs-on: ubuntu-20.04 - container: s1lentq/linux86buildtools:latest + container: debian:11-slim env: CMAKE_TOOLCHAIN_FILE: ${{github.workspace}}/cmake/linux-i686.cmake steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + dpkg --add-architecture i386 + apt-get update + apt-get install -y \ + gcc-multilib g++-multilib \ + build-essential \ + libc6-dev libc6-dev-i386 \ + git cmake rsync \ + g++ gcc + - name: Configure CMake # Use a bash shell so we can use the same syntax for environment variable # access regardless of the host operating system @@ -19,7 +31,7 @@ jobs: # Note the current convention is to use the -S and -B options here to specify source # and build directories, but this is only available with CMake 3.13 and higher. # The CMake binaries on the Github Actions machines are (as of this writing) 3.12 - run: rm -rf build && CC=icc CXX=icpc cmake -B build && cmake --build build -j + run: rm -rf build && CC=gcc CXX=g++ cmake -B build && cmake --build build -j - name: Deploy artifacts uses: actions/upload-artifact@v4