Skip to content

Commit ab961d6

Browse files
committed
Fix linux build
1 parent e82f016 commit ab961d6

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,25 @@ jobs:
5252

5353
linux:
5454
name: 'Linux'
55-
runs-on: ubuntu-latest
56-
container: s1lentq/linux86buildtools:latest
55+
runs-on: ubuntu-20.04
5756
outputs:
5857
app-version: ${{ steps.app-version.outputs.version }}
5958

60-
env:
61-
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
62-
6359
steps:
6460
- name: Checkout
6561
uses: actions/checkout@v3
6662
with:
6763
fetch-depth: 0
6864

69-
- name: Build using Intel C++ Compiler 19.0
65+
- name: Check dependencies
66+
run: |
67+
sudo dpkg --add-architecture i386
68+
sudo apt-get update
69+
sudo apt-get install -y gcc-multilib g++-multilib
70+
71+
- name: Build
7072
run: |
71-
rm -rf build && CC=icc CXX=icpc cmake -B build && cmake --build build -j8
73+
rm -rf build && CC=gcc CXX=g++ cmake -B build && cmake --build build -j8
7274
7375
- name: Reading appversion.h
7476
id: app-version

0 commit comments

Comments
 (0)