-
Notifications
You must be signed in to change notification settings - Fork 2
Restructured CI workflow #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
65ae304
Restructured workflow
daniel86 6b2718b
Added -j$(nproc)
daniel86 67057ed
CI improvements
daniel86 ff4dd13
Do not use -mfpmath=sse with apple
daniel86 5dd254f
Added more badges
daniel86 8950bfe
Added missing include
daniel86 b9c6132
Optional unit test build
daniel86 ff545d3
Migrated to SIMDe interface
daniel86 f8b2446
Added macos build
daniel86 e876c04
Added macos build
daniel86 3ad96dd
Added simde dependency
daniel86 3647bc6
Refactored MacOS CI into its own workflow
daniel86 bac3005
Refactored MacOS CI into its own workflow
daniel86 3fd2e96
Added set-linux action to avoid some redundancy in workflow
daniel86 167ab5e
Some fixes
daniel86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Setup Linux build environment | ||
| description: Install dependencies | ||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - shell: bash | ||
| run: | | ||
| set -euo pipefail | ||
| sudo apt-get update -y -qq | ||
| sudo apt-get install libgl-dev \ | ||
| libboost-thread-dev libboost-system-dev libboost-date-time-dev libboost-filesystem-dev \ | ||
| libboost-regex-dev libboost-timer-dev libsimde-dev \ | ||
| libassimp-dev libopenal-dev libdevil-dev libfreetype-dev libbullet-dev \ | ||
| libglew-dev libglu1-mesa-dev libgl1-mesa-dev \ | ||
| libavcodec-dev libavformat-dev libavutil-dev libswscale-dev \ | ||
| libpng-dev libalut-dev \ | ||
| qtbase5-dev libgtest-dev \ | ||
| doxygen graphviz \ | ||
| nlohmann-json3-dev |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: CI MacOS | ||
| on: | ||
| push: | ||
| branches: [ dev ] | ||
| pull_request: | ||
| branches: [ dev ] | ||
| release: | ||
| types: [published] | ||
|
|
||
| jobs: | ||
| build-macos: | ||
| runs-on: macos-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Install dependencies | ||
| run: | | ||
| brew install cmake gcc simde boost assimp openal-soft freetype bullet glew qt5 doxygen graphviz devil ffmpeg alut nlohmann-json googletest | ||
| - name: Build REGEN workspace | ||
| run: | | ||
| mkdir build | ||
| cd build | ||
| cmake \ | ||
| -DCMAKE_C_COMPILER=/opt/homebrew/bin/gcc-14 -DCMAKE_CXX_COMPILER=/opt/homebrew/bin/g++-14 \ | ||
| -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/qt@5" \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DBUILD_TESTS=ON \ | ||
| -DREGEN_EXTRA_INCLUDE_DIRS="/opt/homebrew/opt/openal-soft/include/" \ | ||
| ../ | ||
| make | ||
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.