diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c79b6c3..03f6eaf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: linux: name: Linux Build runs-on: ubuntu-latest - container: centos:7 + container: ubuntu:18.04 env: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true @@ -21,11 +21,14 @@ jobs: - name: Setup Checkout uses: actions/checkout@v3 - - name: Update cache - run: yes | yum -y --assumeyes makecache + - name: Add i386 architecture + run: dpkg --add-architecture i386 + + - name: Update repository + run: apt-get -qq update - name: Install build dependencies - run: yes | yum -y --assumeyes install @'Development Tools' glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 wget unzip + run: apt-get install -qq -y wget unzip build-essential gcc-4.8-multilib g++-4.8-multilib libgcc1 libgcc1:i386 libc6-dev libc6-dev-i386 - name: Run build working-directory: ./MatchBot