Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn authored Sep 12, 2024
1 parent b62950d commit 1fb7f01
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1fb7f01

Please sign in to comment.