Browse Source

Ignore LTO in CI builds, takes too long

pull/1723/head
falkTX 2 years ago
parent
commit
5cb894c07c
1 changed files with 11 additions and 10 deletions
  1. +11
    -10
      .github/workflows/build.yml

+ 11
- 10
.github/workflows/build.yml View File

@@ -10,6 +10,7 @@ on:
env:
DEBIAN_FRONTEND: noninteractive
HOMEBREW_NO_AUTO_UPDATE: 1
WITH_LTO: false

jobs:
macos-11:
@@ -18,11 +19,11 @@ jobs:
- uses: actions/checkout@v2
- 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -152,4 +153,4 @@ jobs:
- name: make features
run: make features
- name: make
run: make WITH_LTO=true -j $(nproc)
run: make -j $(nproc)

Loading…
Cancel
Save