Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn authored Dec 19, 2024
1 parent 5f836a6 commit d8f16f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:
uses: actions/checkout@v4

- name: Add i386 architecture
run: sudo dpkg --add-architecture i386
run: dpkg --add-architecture i386

- name: Update repository
run: sudo apt-get update
run: apt-get update

- name: Install build dependencies
run: sudo apt-get install -qq -y wget unzip build-essential gcc-multilib g++-multilib libgcc1:i386 libcurl4-openssl-dev:i386 zlib1g-dev:i386 libssl-dev:i386
run: apt-get install -qq -y wget unzip build-essential gcc-multilib g++-multilib libgcc1:i386 libcurl4-openssl-dev:i386 zlib1g-dev:i386 libssl-dev:i386

- name: Update alternatives
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

run: g++ --version
- name: Run build
working-directory: ./MatchBot
run: make
Expand Down

0 comments on commit d8f16f1

Please sign in to comment.