Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Jan 27, 2024
1 parent 7f0bc2e commit 2319bfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ jobs:
version: ${{ matrix.os.version }}
shell: bash
run: |
find / -name 'math.h'
sudo pkg install -y cmake
mkdir build
cd build
cmake .. -DCMAKE_C_FLAGS='-isystem /usr/include/c++/v1/ -flto' -DCMAKE_CXX_FLAGS='-isystem /usr/include/c++/v1/ -flto' -DSTATIC_LIBS=ON
cmake .. -DCMAKE_C_FLAGS='-isystem /usr/include/ -flto' -DCMAKE_CXX_FLAGS='-isystem /usr/include/ -flto' -DSTATIC_LIBS=ON
make -j2
- name: Archive binary
Expand Down

0 comments on commit 2319bfe

Please sign in to comment.