Fix linux build

This commit is contained in:
s1lentq 2024-11-27 00:36:30 +07:00
parent 16c8b2621b
commit bdb3a06efb

View File

@ -48,23 +48,19 @@ 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: Build
run: |
rm -rf build && CC=icc CXX=icpc cmake -B build && cmake --build build -j8
rm -rf build && CC=gcc CXX=g++ cmake -B build && cmake --build build -j8
- name: Reading appversion.h
id: app-version