Skip to content

Commit

Permalink
Remove debugging comments
Browse files Browse the repository at this point in the history
  • Loading branch information
damskii9992 committed Jan 7, 2025
1 parent 7679575 commit 7aaacd0
Showing 1 changed file with 24 additions and 43 deletions.
67 changes: 24 additions & 43 deletions .github/workflows/Build-multi-OS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@ jobs:
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the list.
matrix:
include:
# - os: windows-2022
# c_compiler: cl
# cpp_compiler: cl
# cl: 17
# build_type: Release
# build_root: build-imagingsuite
- os: windows-2022
c_compiler: cl
cpp_compiler: cl
cl: 17
build_type: Release
build_root: build-imagingsuite
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
gcc: 11
build_type: Release
build_root: build-imagingsuite/Release
# - os: macos-13
# c_compiler: clang
# cpp_compiler: clang++
# clang: 14
# build_type: Release
# build_root: build-imagingsuite/Release
# - os: macos-14
# c_compiler: clang
# cpp_compiler: clang++
# clang: 15
# build_type: Release
# build_root: build-imagingsuite/Release
- os: macos-13
c_compiler: clang
cpp_compiler: clang++
clang: 14
build_type: Release
build_root: build-imagingsuite/Release
- os: macos-14
c_compiler: clang
cpp_compiler: clang++
clang: 15
build_type: Release
build_root: build-imagingsuite/Release

steps:
# Checkouts the source code to build the project with the git history
Expand Down Expand Up @@ -152,7 +152,6 @@ jobs:
working-directory: build-imagingsuite/Release/lib
shell: bash
run: |
ls
mv libstdc++.so.6 libstdc++.sc.6
patchelf --set-rpath '$ORIGIN' *.so*
mv libstdc++.sc.6 libstdc++.so.6
Expand Down Expand Up @@ -191,23 +190,6 @@ jobs:
name: ${{runner.os}}-${{runner.arch}}-test-results
path: ${{ matrix.build_root }}/Testing

- name: Compress artifact
shell: bash
working-directory: ${{ matrix.build_root }}
run: |
if [ "${RUNNER_OS}" == "Windows" ]; then
7z a ../MuhRec-${{runner.os}}-${{runner.arch}}.zip "bin/Release/*" -xr!t*.exe -xr!.pyd
elif [ "${RUNNER_OS}" == "Linux" ]; then
cd lib
ls
cd ..
zip -r ../../MuhRec-${{runner.os}}-${{runner.arch}}.zip bin/* lib/* PlugIns/* resources/* -x "bin/t*"
elif [ "${RUNNER_OS}" == "macOS" -a "${RUNNER_ARCH}" == "X64" ]; then
zip -r ../../MuhRec-${{runner.os}}-${{runner.arch}}.zip lib/* *.app/* -x "lib/*.dylib"
elif [ "${RUNNER_OS}" == "macOS" -a "${RUNNER_ARCH}" == "ARM64" ]; then
zip -r ../../MuhRec-${{runner.os}}-${{runner.arch}}.zip lib/* *.app/* -x "lib/*.dylib" -x "lib/*.h"
fi
- name: Save build artifact Windows
if: ${{ runner.os == 'Windows' }}
uses: actions/upload-artifact@master
Expand All @@ -224,13 +206,12 @@ jobs:
with:
name: MuhRec-${{runner.os}}-${{runner.arch}}
path: |
"${{ github.workspace }}/MuhRec*.zip"
# ${{ matrix.build_root }}/bin/*
# !${{ matrix.build_root }}/bin/t*
# ${{ matrix.build_root }}/PlugIns/*
# ${{ matrix.build_root }}/lib/*
# !${{ matrix.build_root }}/lib/*cpython*
# ${{ matrix.build_root }}/resources/*
${{ matrix.build_root }}/bin/*
!${{ matrix.build_root }}/bin/t*
${{ matrix.build_root }}/PlugIns/*
${{ matrix.build_root }}/lib/*
!${{ matrix.build_root }}/lib/*cpython*
${{ matrix.build_root }}/resources/*
- name: Save build artifact MacOS
if: ${{ runner.os == 'macOS' }}
Expand Down

0 comments on commit 7aaacd0

Please sign in to comment.