-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #711 from Nopey/headers
Precompiled Headers & Faster CI
- Loading branch information
Showing
5 changed files
with
63 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install clang-format and fd-find | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get -y install clang-format-${{ env.clang-format-version }} fd-find | ||
uses: Eeems-Org/[email protected] | ||
with: | ||
packages: clang-format-${{ env.clang-format-version }} fd-find | ||
- name: Run clang-format style check | ||
run: | | ||
fdfind . -e .c -e .h -X clang-format-${{ env.clang-format-version }} --dry-run --Werror | ||
|
@@ -44,18 +44,18 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
config: | ||
- { name: "gcc 14", cc: gcc-14, tidy: "On" } | ||
- { name: "clang 16", cc: clang-16, tidy: "Off" } | ||
- { name: "gcc 14", cc: gcc-14, tidy: "Off" } | ||
- { name: "clang 18", cc: clang-18, tidy: "On" } | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Ubuntu Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get -y install cmake cmake-data libargtable2-dev libcunit1-dev \ | ||
libsdl2-mixer-dev libconfuse-dev libenet-dev libsdl2-dev libxmp-dev libpng-dev \ | ||
libepoxy-dev clang-tidy ${{ matrix.config.cc }} | ||
uses: Eeems-Org/[email protected] | ||
with: | ||
packages: cmake cmake-data libargtable2-dev libcunit1-dev | ||
libsdl2-mixer-dev libconfuse-dev libenet-dev libsdl2-dev libxmp-dev libpng-dev | ||
libepoxy-dev clang-tidy-18 ${{ matrix.config.cc }} | ||
|
||
- name: Build tests | ||
run: | | ||
|
@@ -166,9 +166,9 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Install Ubuntu Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get -y install cmake libargtable2-dev libcunit1-dev libsdl2-mixer-dev \ | ||
uses: Eeems-Org/[email protected] | ||
with: | ||
packages: cmake libargtable2-dev libcunit1-dev libsdl2-mixer-dev | ||
libconfuse-dev libenet-dev libsdl2-dev libxmp-dev libpng-dev libepoxy-dev | ||
|
||
- name: Generate Release | ||
|
@@ -305,10 +305,12 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install apt Dependencies | ||
uses: Eeems-Org/[email protected] | ||
with: | ||
packages: mingw-w64 unzip | ||
- name: Install Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get -y install mingw-w64 unzip | ||
wget -q https://github.com/omf2097/openomf-win-build/archive/refs/heads/main.zip | ||
unzip -q main.zip && rm main.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters