Skip to content

Commit

Permalink
Ignore LTO in CI builds, takes too long
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Jan 13, 2023
1 parent e739538 commit 7a0fd0e
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
DEBIAN_FRONTEND: noninteractive
HOMEBREW_NO_AUTO_UPDATE: 1
WITH_LTO: false

jobs:
macos-10_15:
Expand All @@ -18,11 +19,11 @@ jobs:
- uses: actions/checkout@v3
- name: Set up dependencies
run: |
brew install fluid-synth liblo libmagic libsndfile pkg-config pyqt@5
brew install fluid-synth liblo libmagic libsndfile pkg-config pyqt@5 qt@5 sdl2
- name: make features
run: make features
- name: make
run: make WITH_LTO=true -j $(sysctl -n hw.logicalcpu)
run: make -j $(sysctl -n hw.logicalcpu)

#msys2-i686:
#runs-on: windows-latest
Expand All @@ -38,7 +39,7 @@ jobs:
#- name: make features
#run: make features
#- name: make
#run: make WITH_LTO=true -j $(nproc)
#run: make -j $(nproc)

#msys2-x86_64:
#runs-on: windows-latest
Expand All @@ -54,7 +55,7 @@ jobs:
#- name: make features
#run: make features
#- name: make
#run: make WITH_LTO=true -j $(nproc)
#run: make -j $(nproc)

ubuntu-18_04:
runs-on: ubuntu-18.04
Expand All @@ -74,9 +75,9 @@ jobs:
- name: make features
run: make features
- name: make
run: make WITH_LTO=true -j $(nproc)
run: make -j $(nproc)
- name: make posix32
run: make WITH_LTO=true posix32 -j $(nproc)
run: make posix32 -j $(nproc)

ubuntu-20_04:
runs-on: ubuntu-20.04
Expand All @@ -101,9 +102,9 @@ jobs:
- name: make features
run: make features
- name: make
run: make WITH_LTO=true -j $(nproc)
run: make -j $(nproc)
- name: make posix32
run: make WITH_LTO=true posix32 -j $(nproc)
run: make posix32 -j $(nproc)

ubuntu-mingw-win32:
runs-on: ubuntu-20.04
Expand All @@ -128,7 +129,7 @@ jobs:
- name: make features
run: make features
- name: make
run: make WITH_LTO=true -j $(nproc)
run: make -j $(nproc)

ubuntu-mingw-win64:
runs-on: ubuntu-20.04
Expand All @@ -152,4 +153,4 @@ jobs:
- name: make features
run: make features
- name: make
run: make WITH_LTO=true -j $(nproc)
run: make -j $(nproc)

0 comments on commit 7a0fd0e

Please sign in to comment.