Skip to content

Commit

Permalink
#156 - updated CMakeLists.txt: bugfix ubuntu-latest [gha]
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Dec 1, 2024
1 parent aaa2fdc commit 13b681e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: ${{ matrix.os }}
if: contains(github.event.head_commit.message, '[ci]') || contains(github.event.head_commit.message, '[gha]')
steps:
- name: 🤖 Job information
- name: 🤖 Job information, on branch ${{ github.ref }}
run: |
echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event, by actor ${{ github.actor }}."
echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
# Export VERSION as an environment variable for subsequent steps
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Display the determined version
- name: Determined build version ${{ env.VERSION }}

Check failure on line 78 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

78:58 [trailing-spaces] trailing spaces
run: echo "VERSION is set to ${{ env.VERSION }}"

#
Expand Down Expand Up @@ -188,17 +188,21 @@ jobs:
echo "💡 Deleting old build directory..."
rm -rf build
echo "💡 List current directory..."
pwd
ls
echo "🔧 Configuring project using 'cmake -S . -B build -DCMAKE_BUILD_TYPE=${{env.CMAKE_CONFIG}}' ..."
cmake -S . -B build -DCMAKE_BUILD_TYPE=${{env.CMAKE_CONFIG}}

Check failure on line 197 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

197:1 [trailing-spaces] trailing spaces
ls build/
echo "🚧 Compiling the project..."
cmake --build build -j$(nproc)
echo "🔎 Verifying built files..."
ls -lh ./build/
find build -type f -name "${{env.UNIXNAME}}*"
find ./build -type f -name "${{env.UNIXNAME}}*"
echo "🔧 Installing the application into AppDir..."
cd build
Expand Down

0 comments on commit 13b681e

Please sign in to comment.