From ac645c63d35414d43c6450cfdb87d7d8bfc566b3 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 11 Sep 2021 18:58:53 +0200 Subject: [PATCH] github: Just run ctest manually. Added some emojis --- .github/workflows/analysis.yml | 27 ++++++++++++--------------- .github/workflows/build.yml | 18 +++++++++--------- 2 files changed, 21 insertions(+), 24 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index c83937221..a5d674383 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -10,7 +10,7 @@ on: jobs: analyze: - name: Analyze + name: ๐Ÿ› Analyze runs-on: ubuntu-latest permissions: actions: read @@ -22,23 +22,23 @@ jobs: matrix: language: [ 'cpp' ] steps: - - name: Checkout repository + - name: ๐Ÿงฐ Checkout uses: actions/checkout@v2 with: fetch-depth: 0 submodules: recursive - - name: Initialize CodeQL + - name: โœ‹ Initialize CodeQL uses: github/codeql-action/init@v1 with: languages: ${{ matrix.language }} - - name: Install dependencies + - name: โฌ‡๏ธ Install dependencies run: | sudo apt update sudo bash dist/get_deps_debian.sh - - name: Build + - name: ๐Ÿ› ๏ธ Build run: | mkdir build cd build @@ -48,13 +48,10 @@ jobs: .. make -j 4 install - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 - - - name: Run unit tests - uses: HorstBaerbel/action-ctest@1.1 - with: - sourcedir: '.' - builddir: 'build' - cmakeoptions: '--config Release' - ctestoptions: '' \ No newline at end of file + - name: ๐Ÿงช Perform Unit Tests + run: | + cd build + ctest + + - name: ๐Ÿ—ฏ๏ธ Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 398adacfd..adc0819b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: sudo apt update sudo bash dist/get_deps_debian.sh - - name: โœ‹ Build + - name: ๐Ÿ› ๏ธ Build run: | mkdir build cd build @@ -35,7 +35,7 @@ jobs: .. make -j 4 install - - name: โœ‹ Bundle Flatpak + - name: ๐Ÿ“ฆ Bundle Flatpak run: | sudo apt install flatpak flatpak-builder flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo @@ -44,14 +44,14 @@ jobs: flatpak-builder --repo=imhex _flatpak dist/net.werwolv.ImHex.yaml flatpak build-bundle imhex imhex.flatpak net.werwolv.ImHex stable - - name: ๐Ÿ“ฆ Upload ELF + - name: โฌ†๏ธ Upload ELF uses: actions/upload-artifact@v2 with: name: Linux ELF path: | build/install/* - - name: ๐Ÿ“ฆ Upload Flatpak + - name: โฌ†๏ธ Upload Flatpak uses: actions/upload-artifact@v2 with: name: Linux Flatpak @@ -76,7 +76,7 @@ jobs: run: | bash dist/get_deps_msys2.sh - - name: โœ‹ Build + - name: ๐Ÿ› ๏ธ Build run: | mkdir build cd build @@ -94,14 +94,14 @@ jobs: mingw32-make install cpack - - name: ๐Ÿ“ฆ Upload Portable ZIP + - name: โฌ†๏ธ Upload Portable ZIP uses: actions/upload-artifact@v2 with: name: Windows Portable ZIP path: | build/install/* - - name: ๐Ÿ“ฆ Upload Windows Installer + - name: โฌ†๏ธ Upload Windows Installer uses: actions/upload-artifact@v2 with: name: Windows Installer @@ -124,7 +124,7 @@ jobs: run: | brew bundle --no-lock --file dist/Brewfile - - name: โœ‹ Build + - name: ๐Ÿ› ๏ธ Build run: | mkdir build cd build @@ -139,7 +139,7 @@ jobs: .. make -j 4 package - - name: ๐Ÿ“ฆ Upload DMG + - name: โฌ†๏ธ Upload DMG uses: actions/upload-artifact@v2 with: name: macOS DMG