2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-25 06:05:50 +03:00

Fix linux build

This commit is contained in:
s1lentq 2024-12-07 19:46:52 +07:00
parent e82f016db9
commit ab961d6925

View File

@ -52,23 +52,25 @@ jobs:
linux:
name: 'Linux'
runs-on: ubuntu-latest
container: s1lentq/linux86buildtools:latest
runs-on: ubuntu-20.04
outputs:
app-version: ${{ steps.app-version.outputs.version }}
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build using Intel C++ Compiler 19.0
- name: Check dependencies
run: |
rm -rf build && CC=icc CXX=icpc cmake -B build && cmake --build build -j8
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib
- name: Build
run: |
rm -rf build && CC=gcc CXX=g++ cmake -B build && cmake --build build -j8
- name: Reading appversion.h
id: app-version