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 6, 2024
1 parent 27d7428 commit 8537270
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:

- name: Add i386 architecture
run: |
dpkg --add-architecture i386
sudo dpkg --add-architecture i386
sudo su -c "echo 'deb http://archive.ubuntu.com/ubuntu/bionic main restricted universe multiverse' >> /etc/apt/sources.list"
- name: Update repository
run: apt-get update
run: sudo apt-get update

- name: Install build dependencies
run: apt-get install -qq -y wget unzip build-essential gcc-4.8-multilib g++-4.8-multilib libgcc1:i386
run: sudo apt-get install -qq -y wget unzip build-essential gcc-4.8-multilib g++-4.8-multilib libgcc1:i386

- name: Update alternatives
run: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8

- name: Run build
working-directory: ./MatchBot
Expand Down

0 comments on commit 8537270

Please sign in to comment.